public static class PersistenceTypeDescriptionMemberPrimitiveDefinition.Default extends Object implements PersistenceTypeDescriptionMemberPrimitiveDefinition
PersistenceTypeDescriptionMemberPrimitiveDefinition.DefaultPersistenceTypeDescriptionMember.IdentityHashEqualator| Modifier | Constructor and Description |
|---|---|
protected |
Default(String primitiveDefinition,
long persistentLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
assembleTypeDescription(PersistenceTypeDescriptionMemberAppender assembler) |
boolean |
equalsStructure(PersistenceTypeDescriptionMember other)
Structure means equal order of members by type name and simple name.
Not qualifier, since that is only required for intra-type field identification |
boolean |
hasReferences() |
boolean |
isEnumConstant() |
boolean |
isInstanceMember() |
boolean |
isPrimitive() |
boolean |
isPrimitiveDefinition() |
boolean |
isReference() |
boolean |
isValidPersistentLength(long persistentLength) |
String |
name()
The simple or "primary" name of the member, if applicable.
|
long |
persistentMaximumLength()
Returns the highest possible length value that a member of the persistent form for values of the type
represented by this instance can have.
|
long |
persistentMinimumLength()
Returns the lowest possible length value that a member of the persistent form for values of the type
represented by this instance can have.
|
String |
primitiveDefinition() |
String |
qualifier()
A type-internal qualifier to distinct different members with equal "primary" name.
|
String |
typeName() |
void |
validatePersistentLength(long persistentLength) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDefinitionMember, equalDescription, equalsDescription, identifier, NewcalculatePersistentMaximumLength, calculatePersistentMinimumLength, determineHasReferences, determineIsPrimitive, equalDescription, equalDescriptions, equalMembers, equalStructure, equalStructures, equalTypeAndName, equalTypeAndNameAndQualifier, identityHash, identityHashEqualator, isFixedLength, isIdentical, isIdentical, isVariableLengthprotected Default(String primitiveDefinition, long persistentLength)
public String primitiveDefinition()
primitiveDefinition in interface PersistenceTypeDescriptionMemberPrimitiveDefinitionpublic void assembleTypeDescription(PersistenceTypeDescriptionMemberAppender assembler)
assembleTypeDescription in interface PersistenceTypeDescriptionMemberpublic long persistentMinimumLength()
PersistenceTypeDescriptionMemberpersistentMinimumLength in interface PersistenceTypeDescriptionMemberPersistenceTypeDescriptionMember.persistentMaximumLength()public long persistentMaximumLength()
PersistenceTypeDescriptionMemberpersistentMaximumLength in interface PersistenceTypeDescriptionMemberPersistenceTypeDescriptionMember.persistentMinimumLength()public boolean isValidPersistentLength(long persistentLength)
isValidPersistentLength in interface PersistenceTypeDescriptionMemberpublic boolean equalsStructure(PersistenceTypeDescriptionMember other)
PersistenceTypeDescriptionMemberequalsStructure in interface PersistenceTypeDescriptionMemberother - the description to compare toPersistenceTypeDescriptionMember.equalDescription(PersistenceTypeDescriptionMember, PersistenceTypeDescriptionMember)public String typeName()
typeName in interface PersistenceTypeDescriptionMemberpublic String qualifier()
PersistenceTypeDescriptionMember
May be null if not applicable.
qualifier in interface PersistenceTypeDescriptionMemberPersistenceTypeDescriptionMember.identifier() in a group of members.public String name()
PersistenceTypeDescriptionMember
May be null if not applicable.
name in interface PersistenceTypeDescriptionMemberpublic final boolean isReference()
isReference in interface PersistenceTypeDescriptionMemberpublic final boolean isPrimitive()
isPrimitive in interface PersistenceTypeDescriptionMemberpublic final boolean isPrimitiveDefinition()
isPrimitiveDefinition in interface PersistenceTypeDescriptionMemberpublic final boolean isEnumConstant()
isEnumConstant in interface PersistenceTypeDescriptionMemberpublic final boolean hasReferences()
hasReferences in interface PersistenceTypeDescriptionMemberPersistenceTypeDescriptionMember.isReference(), or because it is a complex type that contains one or more
nested members that have references.public void validatePersistentLength(long persistentLength)
validatePersistentLength in interface PersistenceTypeDescriptionMemberpublic final boolean isInstanceMember()
isInstanceMember in interface PersistenceTypeDescriptionMemberisInstanceMember in interface PersistenceTypeDescriptionMemberPrimitiveDefinitionCopyright © 2022 MicroStream Software. All rights reserved.