Interface IFluentMutableOptionalValueHolder<H extends IFluentMutableOptionalValueHolder<H,V>, V>
- Type Parameters:
H- is the type of aIFluentMutableOptionalValueHolder.V- is the type of the value of aIFluentMutableOptionalValueHolder.
- All Superinterfaces:
IOptionalValueHolder<V>
- All Known Subinterfaces:
IMutableXmlNode
- All Known Implementing Classes:
MutableXmlNode
public interface IFluentMutableOptionalValueHolder<H extends IFluentMutableOptionalValueHolder<H,V>, V>
extends IOptionalValueHolder<V>
A
IFluentMutableOptionalValueHolder is a IOptionalValueHolder
whose value can be set and removed programmatically and fluently.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves the value of the currentIFluentMutableOptionalValueHolder.Sets the value of the currentIFluentMutableOptionalValueHolder.Methods inherited from interface IOptionalValueHolder
getStoredValue, hasValue
-
Method Details
-
removeValue
void removeValue()Removes the value of the currentIFluentMutableOptionalValueHolder. -
setValue
Sets the value of the currentIFluentMutableOptionalValueHolder.- Parameters:
value-- Returns:
- the current
IFluentMutableOptionalValueHolder. - Throws:
RuntimeException- if the given value is null.
-