org.datanucleus.jpa.metamodel
Class EntityTypeImpl<X>

java.lang.Object
  extended by org.datanucleus.jpa.metamodel.TypeImpl<X>
      extended by org.datanucleus.jpa.metamodel.ManagedTypeImpl<X>
          extended by org.datanucleus.jpa.metamodel.IdentifiableTypeImpl<X>
              extended by org.datanucleus.jpa.metamodel.EntityTypeImpl<X>
All Implemented Interfaces:
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 IdentifiableTypeImpl<X>
implements javax.persistence.metamodel.EntityType<X>

Implementation of JPA2 Metamodel "EntityType".


Nested Class Summary
 
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
 
Field Summary
 
Fields inherited from class org.datanucleus.jpa.metamodel.ManagedTypeImpl
attributes, cmd, model
 
Fields inherited from class org.datanucleus.jpa.metamodel.TypeImpl
cls
 
Constructor Summary
protected EntityTypeImpl(java.lang.Class<X> cls, org.datanucleus.metadata.AbstractClassMetaData cmd, MetamodelImpl model)
           
 
Method Summary
 java.lang.Class<X> getBindableJavaType()
           
 javax.persistence.metamodel.Bindable.BindableType getBindableType()
           
 java.lang.String getName()
           
 javax.persistence.metamodel.Type.PersistenceType getPersistenceType()
           
 
Methods inherited from class org.datanucleus.jpa.metamodel.IdentifiableTypeImpl
getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasSingleIdAttribute, hasVersionAttribute
 
Methods inherited from class org.datanucleus.jpa.metamodel.ManagedTypeImpl
getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getList, getList, getMap, getMap, getMetadata, getModel, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes
 
Methods inherited from class org.datanucleus.jpa.metamodel.TypeImpl
getJavaType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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

protected EntityTypeImpl(java.lang.Class<X> cls,
                         org.datanucleus.metadata.AbstractClassMetaData cmd,
                         MetamodelImpl model)
Method Detail

getName

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

getBindableJavaType

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

getBindableType

public javax.persistence.metamodel.Bindable.BindableType getBindableType()
Specified by:
getBindableType 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>
Overrides:
getPersistenceType in class TypeImpl<X>


Copyright © 2010. All Rights Reserved.