Interface IOptionalValueProperty<V>
- Type Parameters:
V- the type of the value of aIOptionalValueProperty.
- All Superinterfaces:
BaseValueProperty, Clearable, EmptinessRequestable, MaterializationRequestable, NameHolder, Property
- All Known Implementing Classes:
OptionalValueProperty
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidSets the given value to the currentIOptionalValueProperty.Methods inherited from interface EmptinessRequestable
containsAny, isEmptyMethods inherited from interface MaterializationRequestable
isMaterialized, isViewMethods inherited from interface NameHolder
getName, getNameInSingleQuotes, hasName, hasSameNameAsMethods inherited from interface Property
addedOrChangedAttribute, fillUpAttributesIntoList
-
Method Details
-
getStoredValue
V getStoredValue()- Returns:
- the value of the current
IOptionalValueProperty - Throws:
RuntimeException- if the currentIOptionalValuePropertydoes not contain a value.
-
setValue
Sets the given value to the currentIOptionalValueProperty.- Parameters:
value-- Throws:
RuntimeException- if the given value is null
-