public class EntityResultMetadataImpl extends Object implements EntityResultMetadata
| Constructor and Description |
|---|
EntityResultMetadataImpl(AbstractLocator locator,
javax.persistence.EntityResult annotation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDiscriminatorColumn()
Specifies the column name (or alias) of the column in the SELECT list that is used to determine the type of the entity instance.
|
String |
getEntityClass()
The class of the result.
|
List<FieldResultMetadata> |
getFields()
Maps the columns specified in the SELECT list of the query to the properties or fields of the entity class.
|
AbstractLocator |
getLocator()
Returns the locator.
|
public EntityResultMetadataImpl(AbstractLocator locator, javax.persistence.EntityResult annotation)
locator - the java locatorannotation - the annotationpublic String getDiscriminatorColumn()
getDiscriminatorColumn in interface EntityResultMetadatapublic String getEntityClass()
getEntityClass in interface EntityResultMetadatapublic List<FieldResultMetadata> getFields()
getFields in interface EntityResultMetadatapublic AbstractLocator getLocator()
getLocator in interface LocatableMatadataCopyright © 2012-2013 Batoo. All Rights Reserved.