Class PersistenceTypeDescriptionMemberEnumConstant.Default
java.lang.Object
one.microstream.persistence.types.PersistenceTypeDescriptionMemberEnumConstant.Default
- All Implemented Interfaces:
PersistenceTypeDescriptionMember,PersistenceTypeDescriptionMemberEnumConstant
- Direct Known Subclasses:
PersistenceTypeDefinitionMemberEnumConstant.Default
- Enclosing interface:
- PersistenceTypeDescriptionMemberEnumConstant
public static class PersistenceTypeDescriptionMemberEnumConstant.Default extends Object implements PersistenceTypeDescriptionMemberEnumConstant
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDescriptionMember
PersistenceTypeDescriptionMember.IdentityHashEqualatorNested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDescriptionMemberEnumConstant
PersistenceTypeDescriptionMemberEnumConstant.Default -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidassembleTypeDescription(PersistenceTypeDescriptionMemberAppender assembler)booleanhasReferences()Determines if this field contains references.Stringidentifier()The name of the member identifying it in its parent group of members.
E.g.booleanisEnumConstant()Determines if this member is a enum constant name definition instead of an isntance field definition.booleanisInstanceMember()booleanisPrimitive()Determines if this member is primitive value.booleanisPrimitiveDefinition()Determines if this member is a primitive type definition instead of a field definition.booleanisReference()Determines if this member directly is a reference.booleanisValidPersistentLength(long persistentLength)Stringname()The simple or "primary" name of the member, if applicable.longpersistentMaximumLength()Returns the highest possible length value that a member of the persistent form for values of the type represented by this instance can have.longpersistentMinimumLength()Returns the lowest possible length value that a member of the persistent form for values of the type represented by this instance can have.Stringqualifier()A type-internal qualifier to distinct different members with equal "primary" name.StringtoString()StringtypeName()voidvalidatePersistentLength(long persistentLength)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface one.microstream.persistence.types.PersistenceTypeDescriptionMember
isFixedLength, isIdentical, isVariableLengthMethods inherited from interface one.microstream.persistence.types.PersistenceTypeDescriptionMemberEnumConstant
createDefinitionMember, equalsDescription, equalsStructure
-
Constructor Details
-
Method Details
-
name
Description copied from interface:PersistenceTypeDescriptionMemberThe simple or "primary" name of the member, if applicable. E.g. "lastName".May be
nullif not applicable.- Specified by:
namein interfacePersistenceTypeDescriptionMember- Returns:
- the member's simple name.
-
assembleTypeDescription
- Specified by:
assembleTypeDescriptionin interfacePersistenceTypeDescriptionMember
-
persistentMinimumLength
public long persistentMinimumLength()Description copied from interface:PersistenceTypeDescriptionMemberReturns the lowest possible length value that a member of the persistent form for values of the type represented by this instance can have. The precise meaning of the length value depends on the actual persistence form.- Specified by:
persistentMinimumLengthin interfacePersistenceTypeDescriptionMember- Returns:
- the persistent form length of null if variable length.
- See Also:
PersistenceTypeDescriptionMember.persistentMaximumLength()
-
persistentMaximumLength
public long persistentMaximumLength()Description copied from interface:PersistenceTypeDescriptionMemberReturns the highest possible length value that a member of the persistent form for values of the type represented by this instance can have. The precise meaning of the length value depends on the actual persistence form.- Specified by:
persistentMaximumLengthin interfacePersistenceTypeDescriptionMember- Returns:
- the persistent form length of null if variable length.
- See Also:
PersistenceTypeDescriptionMember.persistentMinimumLength()
-
isValidPersistentLength
public boolean isValidPersistentLength(long persistentLength)- Specified by:
isValidPersistentLengthin interfacePersistenceTypeDescriptionMember
-
isInstanceMember
public final boolean isInstanceMember()- Specified by:
isInstanceMemberin interfacePersistenceTypeDescriptionMember- Specified by:
isInstanceMemberin interfacePersistenceTypeDescriptionMemberEnumConstant
-
typeName
- Specified by:
typeNamein interfacePersistenceTypeDescriptionMember
-
qualifier
Description copied from interface:PersistenceTypeDescriptionMemberA type-internal qualifier to distinct different members with equal "primary" name. E.g. reflection-based type handling where fields names are only unique in combination with their declaring class.May be
nullif not applicable.- Specified by:
qualifierin interfacePersistenceTypeDescriptionMember- Returns:
- the member's qualifier string to ensure a unique
PersistenceTypeDescriptionMember.identifier()in a group of members.
-
identifier
Description copied from interface:PersistenceTypeDescriptionMemberThe name of the member identifying it in its parent group of members.
E.g. "com.my.app.entities.Person#lastname".May never be
null.- Specified by:
identifierin interfacePersistenceTypeDescriptionMember- Returns:
- the member's uniquely identifying name.
-
isReference
public final boolean isReference()Description copied from interface:PersistenceTypeDescriptionMemberDetermines if this member directly is a reference.- Specified by:
isReferencein interfacePersistenceTypeDescriptionMember
-
isPrimitive
public final boolean isPrimitive()Description copied from interface:PersistenceTypeDescriptionMemberDetermines if this member is primitive value.- Specified by:
isPrimitivein interfacePersistenceTypeDescriptionMember
-
isPrimitiveDefinition
public final boolean isPrimitiveDefinition()Description copied from interface:PersistenceTypeDescriptionMemberDetermines if this member is a primitive type definition instead of a field definition.- Specified by:
isPrimitiveDefinitionin interfacePersistenceTypeDescriptionMember
-
isEnumConstant
public final boolean isEnumConstant()Description copied from interface:PersistenceTypeDescriptionMemberDetermines if this member is a enum constant name definition instead of an isntance field definition.- Specified by:
isEnumConstantin interfacePersistenceTypeDescriptionMember
-
hasReferences
public final boolean hasReferences()Description copied from interface:PersistenceTypeDescriptionMemberDetermines if this field contains references. Either because it is a reference itself, seePersistenceTypeDescriptionMember.isReference(), or because it is a complex type that contains one or more nested members that have references.- Specified by:
hasReferencesin interfacePersistenceTypeDescriptionMember
-
validatePersistentLength
public void validatePersistentLength(long persistentLength)- Specified by:
validatePersistentLengthin interfacePersistenceTypeDescriptionMember
-
toString
-