Interface MutableOptionalIdHolder
- All Superinterfaces:
OptionalIdHolder
A
MutableOptionalIdHolder is a OptionalIdHolder whose id
can be set and removed programmatically.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidremoveId()Removes the id of the currentMutableOptionalIdHolder.voidSets the id of the currentMutableOptionalIdHolder.Methods inherited from interface OptionalIdHolder
getId, getIdInSingleQuotes, hasId, hasId
-
Method Details
-
removeId
void removeId()Removes the id of the currentMutableOptionalIdHolder. -
setId
Sets the id of the currentMutableOptionalIdHolder.- Parameters:
id-- Throws:
RuntimeException- if the given id is null or blank.
-