Package com.evolveum.concepts
Interface Freezable
- All Superinterfaces:
MutationBehaviourAware<Freezable>
-
Method Details
-
mutable
boolean mutable()Description copied from interface:MutationBehaviourAware
Return true if object is currently mutable (can change publicly visible state)- Specified by:
mutable
in 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
-