org.hibernate.tool.ide.completion
Class EntityNameReference
java.lang.Object
org.hibernate.tool.ide.completion.EntityNameReference
public class EntityNameReference
- extends Object
Class that represents an alias to some entityname in a HQL statement. e.g. "Product as p" or "Product p"
Should not be used by external clients.
- Author:
- leon, Max Rydahl Andersen
EntityNameReference
public EntityNameReference(String type,
String alias)
getAlias
public String getAlias()
- Returns:
- The alias, the "p" in "Product as p"
getEntityName
public String getEntityName()
- Returns:
- the entityname, the "Product" in "Product as b"
toString
public String toString()
- Overrides:
toString
in class Object