Class MultiValueFieldEntry<V>
java.lang.Object
ch.nolix.system.objectdata.model.MultiValueFieldEntry<V>
- Type Parameters:
V- is the type of the value of aMultiValueFieldEntry.
- All Implemented Interfaces:
CloseStateRequestable, StateRequestable<DatabaseObjectState>, IDatabaseObject, CreationRequestable, DatabaseConnectionRequestable, DeletionRequestable, EditingRequestable, LoadingRequestable, IMultiValueFieldEntry<V>
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptiongetState()booleanisClosed()booleanbooleanbooleanisEdited()booleanisLoaded()booleanisNew()static <V2> MultiValueFieldEntry<V2> loadedEntryForMultiValueAndValue(IMultiValueField<V2> multiValue, V2 value) static <V2> MultiValueFieldEntry<V2> newEntryForMultiValueAndValue(IMultiValueField<V2> multiValue, V2 value) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseStateRequestable
isOpen
-
Method Details
-
loadedEntryForMultiValueAndValue
public static <V2> MultiValueFieldEntry<V2> loadedEntryForMultiValueAndValue(IMultiValueField<V2> multiValue, V2 value) -
newEntryForMultiValueAndValue
public static <V2> MultiValueFieldEntry<V2> newEntryForMultiValueAndValue(IMultiValueField<V2> multiValue, V2 value) -
getStoredParentMultiValue
- Specified by:
getStoredParentMultiValuein interfaceIMultiValueFieldEntry<V>
-
getStoredValue
- Specified by:
getStoredValuein interfaceIMultiValueFieldEntry<V>
-
getState
- Specified by:
getStatein interfaceStateRequestable<V>- Returns:
- the state of the current
StateRequestable.
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceCloseStateRequestable- Returns:
- true if the current
CloseStateRequestableis closed, false otherwise.
-
isDeleted
public boolean isDeleted()- Specified by:
isDeletedin interfaceDeletionRequestable
-
isEdited
public boolean isEdited()- Specified by:
isEditedin interfaceEditingRequestable
-
isConnectedWithRealDatabase
public boolean isConnectedWithRealDatabase()- Specified by:
isConnectedWithRealDatabasein interfaceDatabaseConnectionRequestable- Returns:
- true if the current
DatabaseConnectionRequestableis connected with a real database, false otherwise.
-
isLoaded
public boolean isLoaded()- Specified by:
isLoadedin interfaceLoadingRequestable
-
isNew
public boolean isNew()- Specified by:
isNewin interfaceCreationRequestable
-