Interface MutableOptionalNameHolder
- All Superinterfaces:
OptionalNameHolder
A
MutableOptionalNameHolder is a OptionalNameHolder whose
name can be set and removed programmatically.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves the name of the currentMutableOptionalNameHolder.voidSets the name of the currentMutableOptionalNameHolder.Methods inherited from interface OptionalNameHolder
getName, getNameInSingleQuotes, hasName, hasName
-
Method Details
-
removeName
void removeName()Removes the name of the currentMutableOptionalNameHolder. -
setName
Sets the name of the currentMutableOptionalNameHolder.- Parameters:
name-- Throws:
RuntimeException- if the given name is null or blank.
-