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