Class Table<E extends Entity>
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 Entity>- Returns:
- true if the current
DatabaseComponentbelongs to a database, false otherwise
-
containsEntityWithId
- Specified by:
containsEntityWithIdin interfaceITable<E extends Entity>
-
getEntityCount
public int getEntityCount()- Specified by:
getEntityCountin interfaceITable<E extends Entity>
-
getEntityType
-
getId
-
getName
- Specified by:
getNamein interfaceNameHolder- Returns:
- the name of the current
NameHolder
-
getOptionalStoredEntityById
-
getStoredColumns
- Specified by:
getStoredColumnsin interfaceITable<E extends Entity>
-
getStoredColumnsThatReferenceMe
- Specified by:
getStoredColumnsThatReferenceMein interfaceITable<E extends Entity>
-
getStoredEntities
- Specified by:
getStoredEntitiesin interfaceITable<E extends Entity>
-
getStoredEntityById
-
getStoredParentDatabase
- Specified by:
getStoredParentDatabasein interfaceDatabaseComponent<E extends Entity>- Returns:
- the database of the current
DatabaseComponent
-
getState
- Specified by:
getStatein interfaceStateRequestable<E extends Entity>- Returns:
- the state of the current
StateRequestable.
-
insertEntity
-
internalClose
public void internalClose()- Specified by:
internalClosein interfaceITable<E extends Entity>
-
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 Entity>
-