public class EntityResultMetadataImpl extends java.lang.Object implements EntityResultMetadata
| Constructor and Description |
|---|
EntityResultMetadataImpl(AbstractLocator locator,
javax.persistence.EntityResult annotation) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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.
|
java.lang.String |
getEntityClass()
The class of the result.
|
java.util.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 java.lang.String getDiscriminatorColumn()
getDiscriminatorColumn in interface EntityResultMetadatapublic java.lang.String getEntityClass()
getEntityClass in interface EntityResultMetadatapublic java.util.List<FieldResultMetadata> getFields()
getFields in interface EntityResultMetadatapublic AbstractLocator getLocator()
getLocator in interface LocatableMatadataCopyright © 2012-2013 Batoo Software & Consultancy. All Rights Reserved.