Package com.evolveum.midpoint.prism
Class FreezableReference<T extends Serializable>
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.prism.FreezableReference<T>
- Type Parameters:
- T- type of referenced item
- All Implemented Interfaces:
- Freezable,- Serializable
- Direct Known Subclasses:
- DeeplyFreezableReference
@Experimental
public class FreezableReference<T extends Serializable>
extends AbstractFreezable
implements Serializable
A reference that can be made immutable.
 The expected use of this class is to be a `final` field in a class.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetValue()inthashCode()static <T extends Serializable>
 FreezableReference<T>of(T value) voidsetAndFreeze(T value) voidMethods inherited from class com.evolveum.midpoint.prism.AbstractFreezablefreeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable, performFreezeMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.FreezablecheckImmutable, checkMutable