Klasse Database
java.lang.Object
ch.nolix.system.objectdata.model.Database
- Alle implementierten Schnittstellen:
INameHolder, Closeable, CloseStateRequestable, GroupCloseable, StateRequestable<DatabaseObjectState>, IDatabaseObject, CreationRequestable, DatabaseConnectionRequestable, DeletionRequestable, EditingRequestable, LoadingRequestable, IDatabase, AutoCloseable
-
Methodenübersicht
Modifikator und TypMethodeBeschreibunggetName()getState()<E extends IEntity>
IContainer<E> getStoredEntitiesByType(Class<E> type) getStoredTableByEntityType(Class<E> entityType) getStoredTableByName(String name) IContainer<? extends ITable<IEntity>> insertEntity(E entity) booleanisClosed()booleanbooleanbooleanisEdited()booleanisLoaded()booleanisNew()voidLets the currentGroupCloseablenote a close.static DatabasewithEntityTypeSetAndMidDataAdapterAndSchemaReader(IEntityTypeSet entityTypeSet, IDataAdapterAndSchemaReader midDataAdapterAndSchemaReader) Von Klasse geerbte Methoden Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden CloseStateRequestable
isOpenVon Schnittstelle geerbte Methoden GroupCloseable
close, createCloseDependencyToVon Schnittstelle geerbte Methoden INameHolder
getNameInQuotes, hasName, hasSameNameAs
-
Methodendetails
-
withEntityTypeSetAndMidDataAdapterAndSchemaReader
public static Database withEntityTypeSetAndMidDataAdapterAndSchemaReader(IEntityTypeSet entityTypeSet, IDataAdapterAndSchemaReader midDataAdapterAndSchemaReader) -
getEntityTypeSet
- Angegeben von:
getEntityTypeSetin SchnittstelleIDatabase
-
getName
- Angegeben von:
getNamein SchnittstelleINameHolder- Gibt zurück:
- the name of the current
INameHolder.
-
getSchemaTimestamp
- Angegeben von:
getSchemaTimestampin SchnittstelleIDatabase
-
getState
- Angegeben von:
getStatein SchnittstelleStateRequestable<DatabaseObjectState>- Gibt zurück:
- the state of the current
StateRequestable.
-
getStoredCloseController
- Angegeben von:
getStoredCloseControllerin SchnittstelleGroupCloseable- Gibt zurück:
- the
ICloseControllerof the currentGroupCloseable.
-
getStoredEntitiesByType
- Angegeben von:
getStoredEntitiesByTypein SchnittstelleIDatabase
-
getStoredTableByEntityType
- Angegeben von:
getStoredTableByEntityTypein SchnittstelleIDatabase
-
getStoredTableByName
- Angegeben von:
getStoredTableByNamein SchnittstelleIDatabase
-
getStoredTables
- Angegeben von:
getStoredTablesin SchnittstelleIDatabase
-
insertEntity
- Angegeben von:
insertEntityin SchnittstelleIDatabase
-
isClosed
public boolean isClosed()Beschreibung aus Schnittstelle kopiert:GroupCloseable- Angegeben von:
isClosedin SchnittstelleCloseStateRequestable- Angegeben von:
isClosedin SchnittstelleGroupCloseable- Gibt zurück:
- true if the current
CloseStateRequestableis closed, false otherwise.
-
isConnectedWithRealDatabase
public boolean isConnectedWithRealDatabase()- Angegeben von:
isConnectedWithRealDatabasein SchnittstelleDatabaseConnectionRequestable- Gibt zurück:
- true if the current
DatabaseConnectionRequestableis connected with a real database, false otherwise.
-
isDeleted
public boolean isDeleted()- Angegeben von:
isDeletedin SchnittstelleDeletionRequestable
-
isEdited
public boolean isEdited()- Angegeben von:
isEditedin SchnittstelleEditingRequestable
-
isLoaded
public boolean isLoaded()- Angegeben von:
isLoadedin SchnittstelleLoadingRequestable
-
isNew
public boolean isNew()- Angegeben von:
isNewin SchnittstelleCreationRequestable
-
noteClose
public void noteClose()Beschreibung aus Schnittstelle kopiert:GroupCloseableLets the currentGroupCloseablenote a close.- Angegeben von:
noteClosein SchnittstelleGroupCloseable
-