Interface IMultiReference<E extends IEntity>
- Type Parameters:
E- the type of theIEntitys aIMultiReferencecan reference.
- All Superinterfaces:
Clearable, CloseStateRequestable, CreationRequestable, DatabaseComponent<IDatabase>, DatabaseConnectionRequestable, DatabaseObject, DeletionRequestable, EditingRequestable, EmptinessRequestable, EntityComponent<IEntity>, IBaseReference, IField, Iterable<E>, LoadingRequestable, MandatorynessRequestable, NameHolder, StateRequestable<DatabaseObjectState>, TableComponent<ITable<? extends IEntity>>
- All Known Implementing Classes:
MultiReference
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidExtendedIterable<? extends IMultiReferenceEntry<E>> booleanvoidremoveEntity(Object entity) voidremoveFirstEntity(Predicate<E> selector) Methods inherited from interface CloseStateRequestable
isClosed, isOpenMethods inherited from interface CreationRequestable
isNewMethods inherited from interface DatabaseComponent
belongsToDatabase, getStoredParentDatabaseMethods inherited from interface DatabaseConnectionRequestable
isConnectedWithRealDatabaseMethods inherited from interface DeletionRequestable
isDeletedMethods inherited from interface EditingRequestable
isEditedMethods inherited from interface EmptinessRequestable
containsAny, isEmptyMethods inherited from interface EntityComponent
belongsToEntity, getStoredParentEntityMethods inherited from interface IBaseReference
getReferenceableTableNamesMethods inherited from interface IField
getStoredBackReferencedBaseReferences, getStoredBaseBackReferencesWhoReferencesBackThis, getStoredParentColumn, getType, internalSetNullableValue, knowsParentColumn, referencesBackEntity, referencesBackEntityWithId, referencesBackField, referencesEntity, referencesUninsertedEntity, setUpdateActionMethods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface LoadingRequestable
isLoadedMethods inherited from interface MandatorynessRequestable
isMandatory, isOptionalMethods inherited from interface NameHolder
getName, getNameInSingleQuotes, hasName, hasSameNameAsMethods inherited from interface StateRequestable
getStateMethods inherited from interface TableComponent
belongsToTable, getStoredParentTable
-
Method Details
-
addEntity
-
getAllReferencedEntityIds
ExtendedIterable<String> getAllReferencedEntityIds() -
getAllStoredReferencedEntities
ExtendedIterable<E> getAllStoredReferencedEntities() -
getStoredNewAndDeletedEntries
ExtendedIterable<? extends IMultiReferenceEntry<E>> getStoredNewAndDeletedEntries() -
loadedAllPersistedReferencedEntityIds
boolean loadedAllPersistedReferencedEntityIds() -
removeEntity
-
removeFirstEntity
-