public interface AnyMappingDefinition
Modifier and Type | Interface and Description |
---|---|
static interface |
AnyMappingDefinition.DiscriminatorMapping
Models a single discriminator mapping definition
|
Modifier and Type | Method and Description |
---|---|
Type |
getDiscriminatorType()
Access to the type of the value that makes up the discriminator portion of the AnyType.
|
Type |
getIdentifierType()
Access to the type of the value that makes up the identifier portion of the AnyType.
|
Iterable<AnyMappingDefinition.DiscriminatorMapping> |
getMappingDefinedDiscriminatorMappings()
Access to discriminator mappings explicitly defined in the mapping metadata.
|
AnyType |
getType()
Access to the mapping's AnyType
|
boolean |
isLazy()
Was the mapping defined as lazy?
|
AnyType getType()
boolean isLazy()
Type getIdentifierType()
AnyMetaDef.idType()
Type getDiscriminatorType()
MetaType
.Any.metaColumn()
,
AnyMetaDef.metaType()
Iterable<AnyMappingDefinition.DiscriminatorMapping> getMappingDefinedDiscriminatorMappings()
AnyMetaDef.metaValues()
). In this case, this method gives access
to those explicitly defined mappings.
Copyright © 2021 JBoss by Red Hat. All rights reserved.