Interface IOptionalValue<V>
- Type Parameters:
V- the type of the value of aIOptionalValue.
- All Superinterfaces:
Clearable, EmptinessRequestable, IBaseValue, IProperty, MaterializationRequestable, NameHolder
- All Known Implementing Classes:
OptionalValue
- Author:
- Silvan Wyss
-
Method Summary
Methods inherited from interface EmptinessRequestable
containsAny, isEmptyMethods inherited from interface IProperty
addedOrChangedAttribute, fillUpAttributesIntoListMethods inherited from interface MaterializationRequestable
isMaterialized, isViewMethods inherited from interface NameHolder
getName, getNameInSingleQuotes, hasName, hasSameNameAs
-
Method Details
-
getStoredValue
V getStoredValue()- Returns:
- the value of the current
IOptionalValue. - Throws:
RuntimeException- if the currentIOptionalValuedoes not contain a value.
-
setValue
Sets the given value to the currentIOptionalValue.- Parameters:
value-- Throws:
RuntimeException- if the given value is null.
-