Package ch.nolix.system.objectdata.model
Klasse Reference<E extends IEntity>
java.lang.Object
ch.nolix.system.objectdata.model.AbstractField
ch.nolix.system.objectdata.model.AbstractReference<E>
ch.nolix.system.objectdata.model.Reference<E>
- Alle implementierten Schnittstellen:
INameHolder
,IEntityComponent<IEntity>
,MandatorynessRequestable
,CloseStateRequestable
,EmptinessRequestable
,StateRequestable<DatabaseObjectState>
,CreationRequestable
,DatabaseConnectionRequestable
,DeletionRequestable
,EditingRequestable
,LoadingRequestable
,IDatabaseObject
,IAbstractReference<E>
,IField
,IReference<E>
public final class Reference<E extends IEntity>
extends AbstractReference<E>
implements IReference<E>
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic Reference
<AbstractEntity> getType()
void
internalSetOptionalContent
(Object content) protected void
boolean
isEmpty()
boolean
boolean
referencesEntity
(IEntity entity) boolean
void
void
setEntityById
(String id) Von Klasse geerbte Methoden ch.nolix.system.objectdata.model.AbstractReference
getReferencedTableName, getStoredAbstractReferencesThatAreBackReferencedFromThis, getStoredReferencedTable, referencesBackEntity, referencesBackEntityWithId, referencesBackField, updateProbableBackReferenceForSetOrAddedEntity
Von Klasse geerbte Methoden ch.nolix.system.objectdata.model.AbstractField
belongsToEntity, getName, getState, getStoredDataAndSchemaAdapter, getStoredParentColumn, getStoredParentEntity, isClosed, isConnectedWithRealDatabase, isDeleted, isEdited, isLoaded, isNew, knowsParentColumn, setAsEditedAndRunPotentialUpdateAction, setUpdateAction
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.resourcecontrolapi.resourceclosingapi.CloseStateRequestable
isClosed, isOpen
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.databaseobjectapi.databaseobjectrequestapi.CreationRequestable
isNew
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.databaseobjectapi.databaseobjectrequestapi.DatabaseConnectionRequestable
isConnectedWithRealDatabase
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.databaseobjectapi.databaseobjectrequestapi.DeletionRequestable
isDeleted
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.databaseobjectapi.databaseobjectrequestapi.EditingRequestable
isEdited
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.staterequestapi.EmptinessRequestable
containsAny
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.objectdataapi.modelapi.IAbstractReference
getReferencedTableName, getStoredReferencedTable
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.componentapi.datamodelcomponentapi.IEntityComponent
belongsToEntity, getStoredParentEntity
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.objectdataapi.modelapi.IField
getStoredAbstractReferencesThatAreBackReferencedFromThis, getStoredParentColumn, knowsParentColumn, referencesBackEntity, referencesBackEntityWithId, referencesBackField, setUpdateAction
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.mandatoryattributeapi.INameHolder
getName, getNameInQuotes, hasName, hasSameNameAs
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.databaseobjectapi.databaseobjectrequestapi.LoadingRequestable
isLoaded
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.datamodelapi.fieldrequestapi.MandatorynessRequestable
isOptional
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.structureapi.typerequestapi.StateRequestable
getState
-
Methodendetails
-
forEntity
-
forTable
-
getReferencedEntityId
- Angegeben von:
getReferencedEntityId
in SchnittstelleIReference<E extends IEntity>
-
getStoredAbstractBackReferencesThatReferencesBackThis
public IContainer<IAbstractBackReference<IEntity>> getStoredAbstractBackReferencesThatReferencesBackThis()- Angegeben von:
getStoredAbstractBackReferencesThatReferencesBackThis
in SchnittstelleIField
-
getStoredReferencedEntity
- Angegeben von:
getStoredReferencedEntity
in SchnittstelleIReference<E extends IEntity>
-
getType
-
internalGetStoredSubFields
- Angegeben von:
internalGetStoredSubFields
in SchnittstelleIField
-
internalSetOptionalContent
- Angegeben von:
internalSetOptionalContent
in SchnittstelleIField
-
isEmpty
public boolean isEmpty()- Angegeben von:
isEmpty
in SchnittstelleEmptinessRequestable
- Gibt zurück:
- true if
EmptinessRequestable
does not contain an element.
-
isMandatory
public boolean isMandatory()- Angegeben von:
isMandatory
in SchnittstelleMandatorynessRequestable
- Gibt zurück:
- true if the current
MandatorynessRequestable
is mandatory, false otherweise.
-
referencesEntity
- Angegeben von:
referencesEntity
in SchnittstelleIField
-
referencesUninsertedEntity
public boolean referencesUninsertedEntity()- Angegeben von:
referencesUninsertedEntity
in SchnittstelleIField
-
setEntity
- Angegeben von:
setEntity
in SchnittstelleIReference<E extends IEntity>
-
setEntityById
- Angegeben von:
setEntityById
in SchnittstelleIReference<E extends IEntity>
-
internalUpdateBackReferencingFieldsWhenIsInsertedIntoDatabase
protected void internalUpdateBackReferencingFieldsWhenIsInsertedIntoDatabase()- Angegeben von:
internalUpdateBackReferencingFieldsWhenIsInsertedIntoDatabase
in KlasseAbstractField
-