org.hibernate.metamodel.domain
Class Superclass
java.lang.Object
org.hibernate.metamodel.domain.AbstractAttributeContainer
org.hibernate.metamodel.domain.Superclass
- All Implemented Interfaces:
- AttributeContainer, Hierarchical, Type
public class Superclass
- extends AbstractAttributeContainer
Models the concept of a (intermediate) superclass
Methods inherited from class org.hibernate.metamodel.domain.AbstractAttributeContainer |
addAttribute, attributes, createBag, createComponentAttribute, createList, createMap, createPluralAttribute, createSet, createSingularAttribute, createVirtualSingularAttribute, getClassName, getClassReference, getClassReferenceUnresolved, getName, getRoleBaseName, getSuperType, locateAttribute, locateBag, locateComponentAttribute, locateList, locateMap, locatePluralAttribute, locateSet, locateSingularAttribute, toString |
Superclass
public Superclass(String entityName,
String className,
Value<Class<?>> classReference,
Hierarchical superType)
- Constructor for the entity
- Parameters:
entityName
- The name of the entityclassName
- The name of this entity's java classclassReference
- The reference to this entity's Class
superType
- The super type for this entity. If there is not super type null
needs to be passed.
isAssociation
public boolean isAssociation()
isComponent
public boolean isComponent()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.