Class Table<E extends IEntity>
java.lang.Object
ch.nolix.system.objectdata.model.Table<E>
- All Implemented Interfaces:
IdHolder, NameHolder, StateRequestable<DatabaseObjectState>, DatabaseComponent<IDatabase>, OpennessRequestable, DatabaseObject, 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 IdHolder
getIdInSingleQuotes, hasIdMethods inherited from interface NameHolder
getNameInSingleQuotes, hasName, hasSameNameAsMethods inherited from interface OpennessRequestable
isOpen
-
Method Details
-
belongsToDatabase
public boolean belongsToDatabase()- Specified by:
belongsToDatabasein interfaceDatabaseComponent<E extends IEntity>- Returns:
- true if the current
DatabaseComponentbelongs 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 interfaceNameHolder- Returns:
- the name of the current
NameHolder
-
getOptionalStoredEntityById
-
getStoredColumns
- Specified by:
getStoredColumnsin interfaceITable<E extends IEntity>
-
getStoredEntities
- Specified by:
getStoredEntitiesin interfaceITable<E extends IEntity>
-
getStoredEntityById
-
getStoredParentDatabase
- Specified by:
getStoredParentDatabasein interfaceDatabaseComponent<E extends IEntity>- Returns:
- the database of the current
DatabaseComponent
-
getState
- Specified by:
getStatein interfaceStateRequestable<E extends IEntity>- Returns:
- the state of the current
StateRequestable.
-
insertEntity
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceOpennessRequestable- Returns:
- true if the current
OpennessRequestableis 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>
-