Class ClobTypeDescriptor.ClobMutabilityPlan
- java.lang.Object
-
- org.hibernate.type.descriptor.java.ClobTypeDescriptor.ClobMutabilityPlan
-
- All Implemented Interfaces:
java.io.Serializable,MutabilityPlan<java.sql.Clob>
- Enclosing class:
- ClobTypeDescriptor
public static class ClobTypeDescriptor.ClobMutabilityPlan extends java.lang.Object implements MutabilityPlan<java.sql.Clob>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ClobTypeDescriptor.ClobMutabilityPlanINSTANCE
-
Constructor Summary
Constructors Constructor Description ClobMutabilityPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.Clobassemble(java.io.Serializable cached)Assemble a previously disassembled value.java.sql.ClobdeepCopy(java.sql.Clob value)Return a deep copy of the value.java.io.Serializabledisassemble(java.sql.Clob 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 ClobTypeDescriptor.ClobMutabilityPlan 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<java.sql.Clob>- Returns:
- True if the internal state can be changed; false otherwise.
-
deepCopy
public java.sql.Clob deepCopy(java.sql.Clob value)
Description copied from interface:MutabilityPlanReturn a deep copy of the value.- Specified by:
deepCopyin interfaceMutabilityPlan<java.sql.Clob>- Parameters:
value- The value to deep copy- Returns:
- The deep copy.
-
disassemble
public java.io.Serializable disassemble(java.sql.Clob 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<java.sql.Clob>- Parameters:
value- The value to disassemble- Returns:
- The disassembled value.
- See Also:
MutabilityPlan.assemble(java.io.Serializable)
-
assemble
public java.sql.Clob assemble(java.io.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<java.sql.Clob>- Parameters:
cached- The disassembled state- Returns:
- The re-assembled value.
- See Also:
MutabilityPlan.disassemble(T)
-
-