类 MutableMutabilityPlan<T>
- java.lang.Object
-
- org.hibernate.type.descriptor.java.MutableMutabilityPlan<T>
-
- 所有已实现的接口:
Serializable,MutabilityPlan<T>
- 直接已知子类:
ArrayMutabilityPlan,AttributeConverterMutabilityPlanImpl,CalendarTypeDescriptor.CalendarMutabilityPlan,DateTypeDescriptor.DateMutabilityPlan,JdbcDateTypeDescriptor.DateMutabilityPlan,JdbcTimestampTypeDescriptor.TimestampMutabilityPlan,JdbcTimeTypeDescriptor.TimeMutabilityPlan,SerializableTypeDescriptor.SerializableMutabilityPlan
public abstract class MutableMutabilityPlan<T> extends Object implements MutabilityPlan<T>
Mutability plan for mutable objects- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 MutableMutabilityPlan()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 Tassemble(Serializable cached)Assemble a previously disassembled value.TdeepCopy(T value)Return a deep copy of the value.protected abstract TdeepCopyNotNull(T value)Serializabledisassemble(T value)Return a "disassembled" representation of the value.booleanisMutable()Can the internal state of instances of T be changed?
-
-
-
方法详细资料
-
isMutable
public boolean isMutable()
从接口复制的说明:MutabilityPlanCan the internal state of instances of T be changed?- 指定者:
isMutable在接口中MutabilityPlan<T>- 返回:
- True if the internal state can be changed; false otherwise.
-
disassemble
public Serializable disassemble(T value)
从接口复制的说明:MutabilityPlanReturn a "disassembled" representation of the value. This is used to push values onto the second level cache. Compliment toMutabilityPlan.assemble(java.io.Serializable)- 指定者:
disassemble在接口中MutabilityPlan<T>- 参数:
value- The value to disassemble- 返回:
- The disassembled value.
- 另请参阅:
MutabilityPlan.assemble(java.io.Serializable)
-
assemble
public T assemble(Serializable cached)
从接口复制的说明:MutabilityPlanAssemble a previously disassembled value. This is used when pulling values from the second level cache. Compliment toMutabilityPlan.disassemble(T)- 指定者:
assemble在接口中MutabilityPlan<T>- 参数:
cached- The disassembled state- 返回:
- The re-assembled value.
- 另请参阅:
MutabilityPlan.disassemble(T)
-
deepCopy
public final T deepCopy(T value)
从接口复制的说明:MutabilityPlanReturn a deep copy of the value.- 指定者:
deepCopy在接口中MutabilityPlan<T>- 参数:
value- The value to deep copy- 返回:
- The deep copy.
-
-