Package ch.nolix.system.objectdata.data
Klasse OptionalBackReference<E extends IEntity>
java.lang.Object
ch.nolix.system.objectdata.data.Field
ch.nolix.system.objectdata.data.BaseBackReference<E>
ch.nolix.system.objectdata.data.OptionalBackReference<E>
- Alle implementierten Schnittstellen:
INameHolder
,MandatorynessRequestable
,CloseStateRequestable
,EmptinessRequestable
,DeletionRequestable
,EditedRequestable
,IDatabaseObject
,LoadedRequestable
,NewRequestable
,IBaseBackReference<E>
,IField
,IOptionalBackReference<E>
public final class OptionalBackReference<E extends IEntity>
extends BaseBackReference<E>
implements IOptionalBackReference<E>
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic <E2 extends Entity>
OptionalBackReference<E2> forEntityAndBackReferencedFieldName
(Class<E2> type, String backReferencedFieldName) static OptionalBackReference
<BaseEntity> forEntityWithTableNameAndBackReferencedFieldName
(String tableName, String backReferencedFieldName) getType()
boolean
isEmpty()
boolean
boolean
referencesBackEntity
(IEntity entity) protected boolean
Von Klasse geerbte Methoden ch.nolix.system.objectdata.data.BaseBackReference
getBackReferencedFieldName, getBackReferencedTableName, getStoredBackReferencedTable, getStoredBaseBackReferences, referencesBackField, referencesEntity, referencesUninsertedEntity
Von Klasse geerbte Methoden ch.nolix.system.objectdata.data.Field
belongsToEntity, getName, getState, getStoredParentColumn, getStoredParentEntity, isClosed, isDeleted, isEdited, isLinkedWithRealDatabase, 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.databaseobjectapi.DeletionRequestable
isDeleted
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.databaseobjectapi.databaseobjectapi.EditedRequestable
isEdited
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.staterequestapi.EmptinessRequestable
containsAny
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.objectdataapi.dataapi.IBaseBackReference
getBackReferencedFieldName, getBackReferencedTableName, getStoredBackReferencedTable
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.databaseobjectapi.databaseobjectapi.IDatabaseObject
getState, isLinkedWithRealDatabase
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.objectdataapi.dataapi.IField
belongsToEntity, getStoredBaseBackReferences, getStoredParentColumn, getStoredParentEntity, 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.databaseobjectapi.LoadedRequestable
isLoaded
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.datamodelapi.fieldrequestapi.MandatorynessRequestable
isOptional
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.databaseobjectapi.databaseobjectapi.NewRequestable
isNew
-
Methodendetails
-
forEntityAndBackReferencedFieldName
public static <E2 extends Entity> OptionalBackReference<E2> forEntityAndBackReferencedFieldName(Class<E2> type, String backReferencedFieldName) -
forEntityWithTableNameAndBackReferencedFieldName
public static OptionalBackReference<BaseEntity> forEntityWithTableNameAndBackReferencedFieldName(String tableName, String backReferencedFieldName) -
getBackReferencedEntityId
- Angegeben von:
getBackReferencedEntityId
in SchnittstelleIOptionalBackReference<E extends IEntity>
-
getBackReferencedEntity
- Angegeben von:
getBackReferencedEntity
in SchnittstelleIOptionalBackReference<E extends IEntity>
-
getStoredReferencingFields
- Angegeben von:
getStoredReferencingFields
in SchnittstelleIField
-
getType
-
internalToContentField
- Angegeben von:
internalToContentField
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.
-
referencesBackEntity
- Angegeben von:
referencesBackEntity
in SchnittstelleIField
-
referencesBackEntityWithId
- Angegeben von:
referencesBackEntityWithId
in KlasseBaseBackReference<E extends IEntity>
-