| Modifier and Type | Class and Description |
|---|---|
| public static interface | AnyMappingDefinition.DiscriminatorMapping
Models a single discriminator mapping definition |
| Modifier and Type | Method and Description |
|---|---|
| public Type | Returns: The discriminator typeAccess to the type of the value that makes up the discriminator portion of the AnyType. |
| public Type | Returns: The identifier typeAccess to the type of the value that makes up the identifier portion of the AnyType. |
| public Iterable | Returns: The explicitly defined discriminator value mappings.Access to discriminator mappings explicitly defined in the mapping metadata. |
| public AnyType | |
| public boolean |
| getDiscriminatorType | back to summary |
|---|---|
| public Type getDiscriminatorType() Access to the type of the value that makes up the discriminator portion of the AnyType. The discriminator is historically called the "meta".
NOTE : If explicit discriminator mappings are given, the type here will be a
| |
| getIdentifierType | back to summary |
|---|---|
| public Type getIdentifierType() Access to the type of the value that makes up the identifier portion of the AnyType.
| |
| getMappingDefinedDiscriminatorMappings | back to summary |
|---|---|
| public Iterable Access to discriminator mappings explicitly defined in the mapping metadata. There are 2 flavors of discrimination:
| |
| getType | back to summary |
|---|---|
| public AnyType getType() Access to the mapping's AnyType
| |
| isLazy | back to summary |
|---|---|
| public boolean isLazy() Was the mapping defined as lazy?
| |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: The defined discriminator valueAccess to the defined discriminator value (the database value) being mapped. |
| public String | Returns: The defined entity nameAccess to the defined entity name corresponding to the defined |
| getDiscriminatorValue | back to summary |
|---|---|
| public Object getDiscriminatorValue() Access to the defined discriminator value (the database value) being mapped.
| |
| getEntityName | back to summary |
|---|---|
| public String getEntityName() Access to the defined entity name corresponding to the defined
| |