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