Class AbstractBinaryHandlerCustomCollection<T>

All Implemented Interfaces:
BinaryTypeHandler<T>, PersistenceDataTypeHolder<Binary>, PersistenceTypeDefinition, PersistenceTypeDescription, PersistenceTypeHandler<Binary,​T>, PersistenceTypeIdentity, PersistenceTypeIdOwner, PersistenceTypeLink
Direct Known Subclasses:
AbstractBinaryHandlerCustomIterable, AbstractBinaryHandlerMap, BinaryHandlerConcurrentSkipListMap, BinaryHandlerConcurrentSkipListSet, BinaryHandlerConstHashEnum, BinaryHandlerConstHashTable, BinaryHandlerConstList, BinaryHandlerEntityLayerIdentity, BinaryHandlerEqConstHashEnum, BinaryHandlerEqConstHashTable, BinaryHandlerEqHashEnum, BinaryHandlerEqHashTable, BinaryHandlerFixedList, BinaryHandlerHashEnum, BinaryHandlerHashMap, BinaryHandlerHashMapFlattened, BinaryHandlerHashSet, BinaryHandlerHashtable, BinaryHandlerHashTable, BinaryHandlerHashtableFlattened, BinaryHandlerIdentityHashMap, BinaryHandlerLinkedHashMap, BinaryHandlerLinkedHashMapFlattened, BinaryHandlerLinkedHashSet, BinaryHandlerPriorityQueue, BinaryHandlerProperties, BinaryHandlerSingleton, BinaryHandlerTreeMap, BinaryHandlerTreeSet

public abstract class AbstractBinaryHandlerCustomCollection<T>
extends AbstractBinaryHandlerCustom<T>
  • Constructor Details

  • Method Details

    • hasPersistedReferences

      public final boolean hasPersistedReferences()
    • hasPersistedVariableLength

      public boolean hasPersistedVariableLength()
      Description copied from interface: PersistenceTypeDefinition
      Provides information if two instances of the handled type can have different length in persisted form.

      Examples for variable length types:

      • arrays
      • java.lang.String
      • java.util.ArrayList
      • java.math.BigDecimal

      Examples for fixed length types:

      • primitive value wrapper types
      • java.lang.Object
      • java.util.Date
      • typical entity types (without unshared inlined variable length component instances)
      Returns:
      if two instances of the handled type can have different length in persisted form
    • hasVaryingPersistedLengthInstances

      public boolean hasVaryingPersistedLengthInstances()
      Description copied from interface: PersistenceTypeDefinition
      Provides information if one particular instance can have variing binary length from one store to another.

      Examples for variable length instances:

      • variable size collection instances
      • variable size pesudo collection instances like java.util.StringBuilder
      • instances of custom defined types similar to collections

      Examples for fixed length instances:

      Returns:
      if one particular instance can have variing binary length from one store to another