public interface EntityTypeDescriptor extends ManagedTypeDescriptor
| Modifier and Type | Method and Description |
|---|---|
Object |
getDiscriminatorValue()
Returns the discriminator value of the entity.
|
Class<?> |
getIdClass()
Returns the id class of the identifiable type.
|
SingularMapping<?,?> |
getIdMapping()
Returns the id mapping of the entity.
|
Pair<SingularMapping<?,?>,AbstractAccessor>[] |
getIdMappings()
Returns an array of id attributes.
|
String |
getName()
Returns the name of the entity.
|
EntityTable |
getPrimaryTable()
Returns the primary table of the entity.
|
AbstractTable |
getTable(String tableName)
Returns the table with the name.
|
boolean |
hasSingleIdAttribute()
Returns if the entity has single id mapping.
|
getJavaTypeObject getDiscriminatorValue()
Class<?> getIdClass()
SingularMapping<?,?> getIdMapping()
Pair<SingularMapping<?,?>,AbstractAccessor>[] getIdMappings()
String getName()
EntityTable getPrimaryTable()
AbstractTable getTable(String tableName)
If the tableName is blank then the primary table is returned
tableName - the name of the table, may be blankboolean hasSingleIdAttribute()
true if the entity has single id mapping, false otherwiseCopyright © 2012-2013 Batoo. All Rights Reserved.