Package ch.nolix.system.objectdata.model
Klasse MultiBackReference<E extends IEntity>
java.lang.Object
ch.nolix.system.objectdata.model.AbstractField
ch.nolix.system.objectdata.model.AbstractBackReference<E>
ch.nolix.system.objectdata.model.MultiBackReference<E>
- Alle implementierten Schnittstellen:
INameHolder
,IEntityComponent<IEntity>
,MandatorynessRequestable
,CloseStateRequestable
,EmptinessRequestable
,StateRequestable<DatabaseObjectState>
,CreationRequestable
,DatabaseConnectionRequestable
,DeletionRequestable
,EditingRequestable
,LoadingRequestable
,IDatabaseObject
,IAbstractBackReference<E>
,IField
,IMultiBackReference<E>
public final class MultiBackReference<E extends IEntity>
extends AbstractBackReference<E>
implements IMultiBackReference<E>
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic <E2 extends AbstractEntity>
MultiBackReference<E2> forBackReferencedEntityTypeAndBaseReference
(Class<E2> backReferencedEntityType, String backReferencedBaseReferenceName) static <E2 extends AbstractEntity>
MultiBackReference<E2> forBackReferencedTableAndBaseReference
(String backReferencedTableName, String backReferencedBaseReference) IContainer
<? extends IMultiBackReferenceEntry<E>> getType()
void
internalSetOptionalContent
(Object content) boolean
isEmpty()
boolean
boolean
boolean
referencesBackEntity
(IEntity entity) boolean
Von Klasse geerbte Methoden ch.nolix.system.objectdata.model.AbstractBackReference
getBackReferencedFieldName, getBackReferencedTableName, getStoredAbstractBackReferencesThatReferencesBackThis, getStoredBackReferencedTable, internalUpdateBackReferencingFieldsWhenIsInsertedIntoDatabase, referencesBackField, referencesEntity, referencesUninsertedEntity
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.IAbstractBackReference
getBackReferencedFieldName, getBackReferencedTableName, getStoredBackReferencedTable
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.componentapi.datamodelcomponentapi.IEntityComponent
belongsToEntity, getStoredParentEntity
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.objectdataapi.modelapi.IField
getStoredAbstractBackReferencesThatReferencesBackThis, getStoredParentColumn, knowsParentColumn, referencesBackField, referencesEntity, referencesUninsertedEntity, 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
-
forBackReferencedEntityTypeAndBaseReference
public static <E2 extends AbstractEntity> MultiBackReference<E2> forBackReferencedEntityTypeAndBaseReference(Class<E2> backReferencedEntityType, String backReferencedBaseReferenceName) -
forBackReferencedTableAndBaseReference
public static <E2 extends AbstractEntity> MultiBackReference<E2> forBackReferencedTableAndBaseReference(String backReferencedTableName, String backReferencedBaseReference) -
getAllBackReferencedEntityIds
- Angegeben von:
getAllBackReferencedEntityIds
in SchnittstelleIMultiBackReference<E extends IEntity>
-
getAllStoredBackReferencedEntities
- Angegeben von:
getAllStoredBackReferencedEntities
in SchnittstelleIMultiBackReference<E extends IEntity>
-
getStoredNewAndDeletedEntries
- Angegeben von:
getStoredNewAndDeletedEntries
in SchnittstelleIMultiBackReference<E extends IEntity>
-
getStoredAbstractReferencesThatAreBackReferencedFromThis
public IContainer<IAbstractReference<IEntity>> getStoredAbstractReferencesThatAreBackReferencedFromThis()- Angegeben von:
getStoredAbstractReferencesThatAreBackReferencedFromThis
in SchnittstelleIField
-
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.
-
loadedAllPersistedReferencedEntityIds
public boolean loadedAllPersistedReferencedEntityIds()- Angegeben von:
loadedAllPersistedReferencedEntityIds
in SchnittstelleIMultiBackReference<E extends IEntity>
-
referencesBackEntity
- Angegeben von:
referencesBackEntity
in SchnittstelleIField
-
referencesBackEntityWithId
- Angegeben von:
referencesBackEntityWithId
in SchnittstelleIField
-