public class StandardAnyTypeDefinition extends Object implements AnyMappingDefinition
AnyMappingDefinition.DiscriminatorMapping| Constructor and Description |
|---|
StandardAnyTypeDefinition(AnyType anyType,
boolean definedAsLazy) |
| 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?
|
public StandardAnyTypeDefinition(AnyType anyType, boolean definedAsLazy)
public AnyType getType()
AnyMappingDefinitiongetType in interface AnyMappingDefinitionpublic boolean isLazy()
AnyMappingDefinitionisLazy in interface AnyMappingDefinitionpublic Type getIdentifierType()
AnyMappingDefinitiongetIdentifierType in interface AnyMappingDefinitionAnyMetaDef.idType()public Type getDiscriminatorType()
AnyMappingDefinitionMetaType.getDiscriminatorType in interface AnyMappingDefinitionAny.metaColumn(),
AnyMetaDef.metaType()public Iterable<AnyMappingDefinition.DiscriminatorMapping> getMappingDefinedDiscriminatorMappings()
AnyMappingDefinitionAnyMetaDef.metaValues()). In this case, this method gives access
to those explicitly defined mappings.
getMappingDefinedDiscriminatorMappings in interface AnyMappingDefinitionCopyright © 2018 JBoss by Red Hat. All rights reserved.