|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.module.core.MMTable
MMTable is the base abstraction of a cloud of objects stored in one database tabel, essentially a cloud of objects of the same type. It provides a starting point for MMObjectBuilder by defining a scope - the database table - and basic functionality to create the table and query properties such as its size. This class does not contain actual management of nodes (this is left to MMOBjectBuilder).
| Field Summary | |
MMBase |
mmb
The MMBase module that this table belongs to |
java.lang.String |
tableName
The table name |
| Constructor Summary | |
MMTable()
Empty constructor. |
|
| Method Summary | |
boolean |
created()
Check whether the table is accessible. |
java.lang.String |
getFullTableName()
Retrieve the full table name (including the clouds' base name) |
java.lang.String |
getTableName()
Retrieve the table name (without the clouds' base name) |
int |
size()
Determine the number of objects in this table. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public MMBase mmb
public java.lang.String tableName
| Constructor Detail |
public MMTable()
| Method Detail |
public java.lang.String getTableName()
String containing the table namepublic java.lang.String getFullTableName()
String containing the full table namepublic int size()
public boolean created()
true if the table is accessible, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||