Class AbstractBaseReference<E extends IEntity>
java.lang.Object
ch.nolix.system.objectdata.model.AbstractField
ch.nolix.system.objectdata.model.AbstractBaseReference<E>
- Type Parameters:
E- is the type of theIEntitys of aAbstractBaseReference.
- All Implemented Interfaces:
INameHolder, IDatabaseComponent<IDatabase>, IEntityComponent<IEntity>, ITableComponent<ITable<? extends IEntity>>, MandatorynessRequestable, CloseStateRequestable, EmptinessRequestable, StateRequestable<DatabaseObjectState>, IDatabaseObject, CreationRequestable, DatabaseConnectionRequestable, DeletionRequestable, EditingRequestable, LoadingRequestable, IBaseReference, IField
- Direct Known Subclasses:
MultiReference, OptionalReference, Reference
public abstract class AbstractBaseReference<E extends IEntity>
extends AbstractField
implements IBaseReference
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionfinal IContainer<String> final IContainer<IBaseReference> final booleanreferencesBackEntity(IEntity entity) final booleanfinal booleanreferencesBackField(IField field) Methods inherited from class AbstractField
belongsToDatabase, belongsToEntity, belongsToTable, getName, getState, getStoredParentColumn, getStoredParentDatabase, getStoredParentEntity, getStoredParentTable, isClosed, isConnectedWithRealDatabase, isDeleted, isEdited, isLoaded, isNew, knowsParentColumn, setUpdateActionMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseStateRequestable
isClosed, isOpenMethods inherited from interface CreationRequestable
isNewMethods inherited from interface DatabaseConnectionRequestable
isConnectedWithRealDatabaseMethods inherited from interface DeletionRequestable
isDeletedMethods inherited from interface EditingRequestable
isEditedMethods inherited from interface EmptinessRequestable
containsAny, isEmptyMethods inherited from interface IDatabaseComponent
belongsToDatabase, getStoredParentDatabaseMethods inherited from interface IEntityComponent
belongsToEntity, getStoredParentEntityMethods inherited from interface IField
getStoredBaseBackReferencesWhoReferencesBackThis, getStoredParentColumn, getType, internalSetNullableValue, knowsParentColumn, referencesEntity, referencesUninsertedEntity, setUpdateActionMethods inherited from interface INameHolder
getName, getNameInQuotes, hasName, hasSameNameAsMethods inherited from interface ITableComponent
belongsToTable, getStoredParentTableMethods inherited from interface LoadingRequestable
isLoadedMethods inherited from interface MandatorynessRequestable
isMandatory, isOptionalMethods inherited from interface StateRequestable
getState
-
Method Details
-
getReferenceableTableNames
- Specified by:
getReferenceableTableNamesin interfaceIBaseReference- Returns:
- the names of the
ITables the currentIBaseReferencecan reference.
-
getStoredBackReferencedBaseReferences
- Specified by:
getStoredBackReferencedBaseReferencesin interfaceIField
-
referencesBackEntity
- Specified by:
referencesBackEntityin interfaceIField
-
referencesBackEntityWithId
- Specified by:
referencesBackEntityWithIdin interfaceIField
-
referencesBackField
- Specified by:
referencesBackFieldin interfaceIField
-