Class NClobTypeDescriptor.NClobMutabilityPlan
- java.lang.Object
-
- org.hibernate.type.descriptor.java.NClobTypeDescriptor.NClobMutabilityPlan
-
- All Implemented Interfaces:
Serializable,MutabilityPlan<NClob>
- Enclosing class:
- NClobTypeDescriptor
public static class NClobTypeDescriptor.NClobMutabilityPlan extends Object implements MutabilityPlan<NClob>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NClobTypeDescriptor.NClobMutabilityPlanINSTANCE
-
Constructor Summary
Constructors Constructor Description NClobMutabilityPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NClobassemble(Serializable cached)Assemble a previously disassembled value.NClobdeepCopy(NClob value)Return a deep copy of the value.Serializabledisassemble(NClob value)Return a "disassembled" representation of the value.booleanisMutable()Can the internal state of instances of T be changed?
-
-
-
Field Detail
-
INSTANCE
public static final NClobTypeDescriptor.NClobMutabilityPlan INSTANCE
-
-
Method Detail
-
isMutable
public boolean isMutable()
Description copied from interface:MutabilityPlanCan the internal state of instances of T be changed?- Specified by:
isMutablein interfaceMutabilityPlan<NClob>- Returns:
- True if the internal state can be changed; false otherwise.
-
deepCopy
public NClob deepCopy(NClob value)
Description copied from interface:MutabilityPlanReturn a deep copy of the value.- Specified by:
deepCopyin interfaceMutabilityPlan<NClob>- Parameters:
value- The value to deep copy- Returns:
- The deep copy.
-
disassemble
public Serializable disassemble(NClob value)
Description copied from interface:MutabilityPlanReturn a "disassembled" representation of the value. This is used to push values onto the second level cache. Compliment toMutabilityPlan.assemble(java.io.Serializable)- Specified by:
disassemblein interfaceMutabilityPlan<NClob>- Parameters:
value- The value to disassemble- Returns:
- The disassembled value.
- See Also:
MutabilityPlan.assemble(java.io.Serializable)
-
assemble
public NClob assemble(Serializable cached)
Description copied from interface:MutabilityPlanAssemble a previously disassembled value. This is used when pulling values from the second level cache. Compliment toMutabilityPlan.disassemble(T)- Specified by:
assemblein interfaceMutabilityPlan<NClob>- Parameters:
cached- The disassembled state- Returns:
- The re-assembled value.
- See Also:
MutabilityPlan.disassemble(T)
-
-