Package com.evolveum.concepts
Interface Freezable
- All Superinterfaces:
MutationBehaviourAware<Freezable>
-
Method Details
-
mutable
boolean mutable()Description copied from interface:MutationBehaviourAwareReturn true if object is currently mutable (can change publicly visible state)- Specified by:
mutablein interfaceMutationBehaviourAware<Freezable>- Returns:
- true if object is mutable (was not frozen)
-
freeze
Freezes object, all subsequent modifications will result in error.- Returns:
- This (for fluent API)
-
checkMutable
Checks if object is not frozen- Throws:
IllegalStateException- If object is frozen
-