Class PersistenceTypeHandler.Abstract<M,T>
- java.lang.Object
-
- one.microstream.persistence.types.PersistenceTypeHandler.Abstract<M,T>
-
- All Implemented Interfaces:
PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<M,T>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
- Direct Known Subclasses:
BinaryTypeHandler.Abstract
- Enclosing interface:
- PersistenceTypeHandler<M,T>
public abstract static class PersistenceTypeHandler.Abstract<M,T> extends Object implements PersistenceTypeHandler<M,T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
PersistenceTypeDefinition.Default
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDescription
PersistenceTypeDescription.Identity
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
PersistenceTypeHandler.Abstract<M,T>
-
-
Constructor Summary
Constructors Constructor Description Abstract()
-
Method Summary
Modifier and Type Method Description static PersistenceTypeDefinitionMemberFieldReflective
declaredField(Field field, PersistenceFieldLengthResolver lengthResolver)
static XImmutableSequence<PersistenceTypeDescriptionMemberFieldReflective>
declaredFields(PersistenceTypeDescriptionMemberFieldReflective... declaredFields)
PersistenceTypeHandler<M,T>
initialize(long typeId)
String
toString()
Class<T>
type()
long
typeId()
The biuniquely associated id value identifying a type description.String
typeName()
The name of the type as defined in the type dictionary.static <M extends PersistenceTypeDefinitionMember>
XImmutableEnum<M>validateAndImmure(XGettingSequence<M> members)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
hasPersistedReferences, hasPersistedVariableLength, hasVaryingPersistedLengthInstances, isPrimitiveType, membersPersistedLengthMaximum, membersPersistedLengthMinimum, runtimeTypeName, toRuntimeTypeIdentifier
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDescription
toTypeIdentifier
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
allMembers, collectEnumConstants, complete, create, getPersistedEnumOrdinal, guaranteeSpecificInstanceViablity, guaranteeSubTypeInstanceViablity, hasInstanceReferences, instanceMembers, isSpecificInstanceViable, isSubTypeInstanceViable, iterateInstanceReferences, iterateLoadableReferences, iterateMemberTypes, membersInDeclaredOrder, settingMembers, store, storingMembers, update
-
-
-
-
Method Detail
-
validateAndImmure
public static <M extends PersistenceTypeDefinitionMember> XImmutableEnum<M> validateAndImmure(XGettingSequence<M> members)
-
declaredField
public static final PersistenceTypeDefinitionMemberFieldReflective declaredField(Field field, PersistenceFieldLengthResolver lengthResolver)
-
declaredFields
public static final XImmutableSequence<PersistenceTypeDescriptionMemberFieldReflective> declaredFields(PersistenceTypeDescriptionMemberFieldReflective... declaredFields)
-
type
public final Class<T> type()
- Specified by:
type
in interfacePersistenceTypeDefinition
- Specified by:
type
in interfacePersistenceTypeHandler<M,T>
- Specified by:
type
in interfacePersistenceTypeLink
-
typeId
public final long typeId()
Description copied from interface:PersistenceTypeDefinition
The biuniquely associated id value identifying a type description.- Specified by:
typeId
in interfacePersistenceTypeDefinition
- Specified by:
typeId
in interfacePersistenceTypeIdentity
- Specified by:
typeId
in interfacePersistenceTypeIdOwner
- Specified by:
typeId
in interfacePersistenceTypeLink
-
typeName
public final String typeName()
Description copied from interface:PersistenceTypeDefinition
The name of the type as defined in the type dictionary. This name may never change for a given typeId, even if the runtimePersistenceTypeDefinition.runtimeTypeName()
did to reflect a design-level type renaming.- Specified by:
typeName
in interfacePersistenceTypeDefinition
- Specified by:
typeName
in interfacePersistenceTypeDescription
- Specified by:
typeName
in interfacePersistenceTypeIdentity
-
initialize
public PersistenceTypeHandler<M,T> initialize(long typeId)
- Specified by:
initialize
in interfacePersistenceTypeHandler<M,T>
-
-