org.hibernate.ejb.metamodel
Class EntityTypeImpl<X>

java.lang.Object
  extended by org.hibernate.ejb.metamodel.AbstractType<X>
      extended by org.hibernate.ejb.metamodel.AbstractManagedType<X>
          extended by org.hibernate.ejb.metamodel.AbstractIdentifiableType<X>
              extended by org.hibernate.ejb.metamodel.EntityTypeImpl<X>
All Implemented Interfaces:
Serializable, javax.persistence.metamodel.Bindable<X>, javax.persistence.metamodel.EntityType<X>, javax.persistence.metamodel.IdentifiableType<X>, javax.persistence.metamodel.ManagedType<X>, javax.persistence.metamodel.Type<X>

public class EntityTypeImpl<X>
extends AbstractIdentifiableType<X>
implements javax.persistence.metamodel.EntityType<X>, Serializable

Defines the Hibernate implementation of the JPA EntityType contract.

Author:
Steve Ebersole, Emmanuel Bernard
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.ejb.metamodel.AbstractIdentifiableType
AbstractIdentifiableType.Builder<X>
 
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Type
javax.persistence.metamodel.Type.PersistenceType
 
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Bindable
javax.persistence.metamodel.Bindable.BindableType
 
Constructor Summary
EntityTypeImpl(Class<X> javaType, AbstractIdentifiableType<? super X> superType, String jpaEntityName, boolean hasIdentifierProperty, boolean isVersioned)
           
 
Method Summary
 Class<X> getBindableJavaType()
           
 javax.persistence.metamodel.Bindable.BindableType getBindableType()
           
 String getName()
           
 javax.persistence.metamodel.Type.PersistenceType getPersistenceType()
           
 
Methods inherited from class org.hibernate.ejb.metamodel.AbstractIdentifiableType
checkDeclaredId, checkDeclaredVersion, checkSimpleId, getBuilder, getDeclaredId, getDeclaredVersion, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasDeclaredVersionAttribute, hasSingleIdAttribute, hasVersionAttribute, requireSupertype
 
Methods inherited from class org.hibernate.ejb.metamodel.AbstractManagedType
getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getList, getList, getMap, getMap, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes, isPrimitiveVariant, lock
 
Methods inherited from class org.hibernate.ejb.metamodel.AbstractType
getJavaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.persistence.metamodel.IdentifiableType
getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasSingleIdAttribute, hasVersionAttribute
 
Methods inherited from interface javax.persistence.metamodel.ManagedType
getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getList, getList, getMap, getMap, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes
 
Methods inherited from interface javax.persistence.metamodel.Type
getJavaType
 

Constructor Detail

EntityTypeImpl

public EntityTypeImpl(Class<X> javaType,
                      AbstractIdentifiableType<? super X> superType,
                      String jpaEntityName,
                      boolean hasIdentifierProperty,
                      boolean isVersioned)
Method Detail

getName

public String getName()
Specified by:
getName in interface javax.persistence.metamodel.EntityType<X>

getBindableType

public javax.persistence.metamodel.Bindable.BindableType getBindableType()
Specified by:
getBindableType in interface javax.persistence.metamodel.Bindable<X>

getBindableJavaType

public Class<X> getBindableJavaType()
Specified by:
getBindableJavaType in interface javax.persistence.metamodel.Bindable<X>

getPersistenceType

public javax.persistence.metamodel.Type.PersistenceType getPersistenceType()
Specified by:
getPersistenceType in interface javax.persistence.metamodel.Type<X>


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.