Package ch.nolix.system.objectdata.data
Klasse BackReference<E extends IEntity>
java.lang.Object
ch.nolix.system.objectdata.data.Field
ch.nolix.system.objectdata.data.BaseBackReference<E>
ch.nolix.system.objectdata.data.BackReference<E>
- Alle implementierten Schnittstellen:
INameHolder
,MandatorynessRequestable
,CloseStateRequestable
,EmptinessRequestable
,DeletionRequestable
,EditedRequestable
,IDatabaseObject
,LoadedRequestable
,NewRequestable
,IBackReference<E>
,IBaseBackReference<E>
,IField
public final class BackReference<E extends IEntity>
extends BaseBackReference<E>
implements IBackReference<E>
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic <E2 extends Entity>
BackReference<E2> forEntityAndBackReferencedFieldName
(Class<E2> type, String backReferencedFieldName) static BackReference
<BaseEntity> forEntityWithTableNameAndBackReferencedFieldName
(String tableName, String backReferencedFieldName) getType()
boolean
isEmpty()
boolean
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> BackReference<E2> forEntityAndBackReferencedFieldName(Class<E2> type, String backReferencedFieldName) -
forEntityWithTableNameAndBackReferencedFieldName
public static BackReference<BaseEntity> forEntityWithTableNameAndBackReferencedFieldName(String tableName, String backReferencedFieldName) -
getStoredReferencingFields
- Angegeben von:
getStoredReferencingFields
in SchnittstelleIField
-
getType
-
getBackReferencedEntityId
- Angegeben von:
getBackReferencedEntityId
in SchnittstelleIBackReference<E extends IEntity>
-
getStoredBackReferencedEntity
- Angegeben von:
getStoredBackReferencedEntity
in SchnittstelleIBackReference<E extends IEntity>
-
isEmpty
public boolean isEmpty()- Angegeben von:
isEmpty
in SchnittstelleEmptinessRequestable
- Gibt zurück:
- true if
EmptinessRequestable
does not contain an element.
-
internalToContentField
- Angegeben von:
internalToContentField
in SchnittstelleIField
-
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
-
referencesBackEntity
public boolean referencesBackEntity()- Angegeben von:
referencesBackEntity
in SchnittstelleIBackReference<E extends IEntity>
-
referencesBackEntityWithId
- Angegeben von:
referencesBackEntityWithId
in KlasseBaseBackReference<E extends IEntity>
-