接口 MutabilityPlan<T>
-
- 所有超级接口:
Serializable
- 所有已知实现类:
ArrayMutabilityPlan,AttributeConverterMutabilityPlanImpl,BlobTypeDescriptor.BlobMutabilityPlan,CalendarTypeDescriptor.CalendarMutabilityPlan,ClobTypeDescriptor.ClobMutabilityPlan,DateTypeDescriptor.DateMutabilityPlan,ImmutableMutabilityPlan,JdbcDateTypeDescriptor.DateMutabilityPlan,JdbcTimestampTypeDescriptor.TimestampMutabilityPlan,JdbcTimeTypeDescriptor.TimeMutabilityPlan,MutableMutabilityPlan,NClobTypeDescriptor.NClobMutabilityPlan,SerializableTypeDescriptor.SerializableMutabilityPlan
public interface MutabilityPlan<T> extends Serializable
Describes the mutability aspects of a Java type. The term mutability refers to the fact that generally speaking the aspects described by this contract are defined by whether the Java type's internal state is mutable or not.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Tassemble(Serializable cached)Assemble a previously disassembled value.TdeepCopy(T value)Return a deep copy of the value.Serializabledisassemble(T value)Return a "disassembled" representation of the value.booleanisMutable()Can the internal state of instances of T be changed?
-
-
-
方法详细资料
-
isMutable
boolean isMutable()
Can the internal state of instances of T be changed?- 返回:
- True if the internal state can be changed; false otherwise.
-
deepCopy
T deepCopy(T value)
Return a deep copy of the value.- 参数:
value- The value to deep copy- 返回:
- The deep copy.
-
disassemble
Serializable disassemble(T value)
Return a "disassembled" representation of the value. This is used to push values onto the second level cache. Compliment toassemble(java.io.Serializable)- 参数:
value- The value to disassemble- 返回:
- The disassembled value.
- 另请参阅:
assemble(java.io.Serializable)
-
assemble
T assemble(Serializable cached)
Assemble a previously disassembled value. This is used when pulling values from the second level cache. Compliment todisassemble(T)- 参数:
cached- The disassembled state- 返回:
- The re-assembled value.
- 另请参阅:
disassemble(T)
-
-