|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extends the generic ClassPersister contract to add operations required by the Hibernate Query Language
Field Summary |
Fields inherited from interface net.sf.hibernate.persister.ClassPersister |
ENTITY_ID |
Method Summary | |
Object |
getDiscriminatorSQLValue()
Get the discriminator value for this particular concrete subclass, as a string that may be embedded in a select statement |
String[] |
getIdentifierColumnNames()
Get the names of columns used to persist the identifier |
Class |
getMappedSuperclass()
Get the class that this class is mapped as a subclass of - not necessarily the direct superclass |
String |
identifierSelectFragment(String name,
String suffix)
Given a query alias and an identifying suffix, render the intentifier select fragment. |
boolean |
isExplicitPolymorphism()
Is this class explicit polymorphism only? |
boolean |
isInherited()
Is this class mapped as a subclass of another class? |
String |
propertySelectFragment(String alias,
String suffix)
Given a query alias and an identifying suffix, render the property select fragment. |
String |
queryWhereFragment(String alias,
boolean innerJoin,
boolean includeSubclasses)
Get the where clause fragment, given a query alias |
Methods inherited from interface net.sf.hibernate.persister.Loadable |
getDiscriminatorAlias, getDiscriminatorType, getIdentifierAliases, getPropertyAliases, getSubclassForDiscriminatorValue, hasSubclasses |
Methods inherited from interface net.sf.hibernate.persister.PropertyMapping |
getType, toColumns, toType |
Methods inherited from interface net.sf.hibernate.persister.Joinable |
consumesAlias, fromJoinFragment, getJoinKeyColumnNames, getName, getTableName, isCollection, isManyToMany, selectFragment, whereJoinFragment |
Method Detail |
public boolean isInherited()
public boolean isExplicitPolymorphism()
public Class getMappedSuperclass()
public Object getDiscriminatorSQLValue()
public String queryWhereFragment(String alias, boolean innerJoin, boolean includeSubclasses) throws MappingException
MappingException
public String identifierSelectFragment(String name, String suffix)
public String propertySelectFragment(String alias, String suffix)
public String[] getIdentifierColumnNames()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |