Class Table<E extends IEntity>
java.lang.Object
ch.nolix.system.objectdata.model.Table<E>
- All Implemented Interfaces:
IIdHolder, INameHolder, IDatabaseComponent<IDatabase>, CloseStateRequestable, StateRequestable<DatabaseObjectState>, IDatabaseObject, CreationRequestable, DatabaseConnectionRequestable, DeletionRequestable, EditingRequestable, LoadingRequestable, ITable<E>
-
Method Summary
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseStateRequestable
isOpenMethods inherited from interface IIdHolder
getIdInQuotes, hasIdMethods inherited from interface INameHolder
getNameInQuotes, hasName, hasSameNameAs
-
Method Details
-
belongsToDatabase
public boolean belongsToDatabase()- Specified by:
belongsToDatabasein interfaceIDatabaseComponent<E extends IEntity>- Returns:
- true if the current
IDatabaseComponentbelongs to a database, false otherwise.
-
containsEntityWithId
- Specified by:
containsEntityWithIdin interfaceITable<E extends IEntity>
-
getEntityCount
public int getEntityCount()- Specified by:
getEntityCountin interfaceITable<E extends IEntity>
-
getEntityType
-
getId
-
getName
- Specified by:
getNamein interfaceINameHolder- Returns:
- the name of the current
INameHolder.
-
getOptionalStoredEntityById
-
getStoredColumns
- Specified by:
getStoredColumnsin interfaceITable<E extends IEntity>
-
getStoredEntities
- Specified by:
getStoredEntitiesin interfaceITable<E extends IEntity>
-
getStoredEntityById
-
getStoredParentDatabase
- Specified by:
getStoredParentDatabasein interfaceIDatabaseComponent<E extends IEntity>- Returns:
- the database of the current
IDatabaseComponent.
-
getState
- Specified by:
getStatein interfaceStateRequestable<E extends IEntity>- Returns:
- the state of the current
StateRequestable.
-
insertEntity
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceCloseStateRequestable- Returns:
- true if the current
CloseStateRequestableis closed, false otherwise.
-
isDeleted
public boolean isDeleted()- Specified by:
isDeletedin interfaceDeletionRequestable
-
isEdited
public boolean isEdited()- Specified by:
isEditedin interfaceEditingRequestable
-
isConnectedWithRealDatabase
public boolean isConnectedWithRealDatabase()- Specified by:
isConnectedWithRealDatabasein interfaceDatabaseConnectionRequestable- Returns:
- true if the current
DatabaseConnectionRequestableis connected with a real database, false otherwise.
-
isLoaded
public boolean isLoaded()- Specified by:
isLoadedin interfaceLoadingRequestable
-
isNew
public boolean isNew()- Specified by:
isNewin interfaceCreationRequestable
-
internalGetStoredEntitiesInLocalData
- Specified by:
internalGetStoredEntitiesInLocalDatain interfaceITable<E extends IEntity>
-