类 EntityTypeImpl<J>
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.internal.AbstractType<J>
-
- org.hibernate.metamodel.model.domain.internal.AbstractManagedType<J>
-
- org.hibernate.metamodel.model.domain.internal.AbstractIdentifiableType<J>
-
- org.hibernate.metamodel.model.domain.internal.EntityTypeImpl<J>
-
- 所有已实现的接口:
Serializable,javax.persistence.metamodel.Bindable<J>,javax.persistence.metamodel.EntityType<J>,javax.persistence.metamodel.IdentifiableType<J>,javax.persistence.metamodel.ManagedType<J>,javax.persistence.metamodel.Type<J>,DomainType<J>,EntityDomainType<J>,IdentifiableDomainType<J>,ManagedDomainType<J>,SimpleDomainType<J>,DomainTypeDescriptor<J>,EntityTypeDescriptor<J>,IdentifiableTypeDescriptor<J>,ManagedTypeDescriptor<J>,SimpleTypeDescriptor<J>
public class EntityTypeImpl<J> extends AbstractIdentifiableType<J> implements EntityTypeDescriptor<J>, Serializable
Defines the Hibernate implementation of the JPAEntityTypecontract.- 作者:
- Steve Ebersole, Emmanuel Bernard
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.metamodel.model.domain.spi.IdentifiableTypeDescriptor
IdentifiableTypeDescriptor.InFlightAccess<X>
-
从接口继承的嵌套类/接口 org.hibernate.metamodel.model.domain.spi.ManagedTypeDescriptor
ManagedTypeDescriptor.InFlightAccess<J>
-
-
构造器概要
构造器 构造器 说明 EntityTypeImpl(Class javaType, IdentifiableTypeDescriptor<? super J> superType, PersistentClass persistentClass, SessionFactoryImplementor sessionFactory)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Class<J>getBindableJavaType()javax.persistence.metamodel.Bindable.BindableTypegetBindableType()StringgetName()The Hibernate "type name" ("entity name" - for non-POJO representations)javax.persistence.metamodel.Type.PersistenceTypegetPersistenceType()IdentifiableTypeDescriptor<? super J>getSuperType()Get this ManagedType's super type descriptor.SubGraphImplementor<J>makeSubGraph()Make an empty sub-graph based on this type.<S extends J>
SubGraphImplementor<S>makeSubGraph(Class<S> subType)Make a sub-graph based on one of this type's sub-typesStringtoString()-
从类继承的方法 org.hibernate.metamodel.model.domain.internal.AbstractIdentifiableType
collectIdClassAttributes, createInFlightAccess, getDeclaredId, getDeclaredVersion, getDeclaredVersion, getId, getIdClassAttributes, getIdClassAttributesSafely, getIdType, getInFlightAccess, getVersion, hasDeclaredVersionAttribute, hasIdClass, hasSingleIdAttribute, hasVersionAttribute, locateIdAttribute, locateVersionAttribute, visitIdClassAttributes
-
从类继承的方法 org.hibernate.metamodel.model.domain.internal.AbstractManagedType
findAttribute, findDeclaredAttribute, findSubType, findSubType, getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getList, getList, getMap, getMap, getPluralAttribute, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes, isPrimitiveVariant, sessionFactory
-
从类继承的方法 org.hibernate.metamodel.model.domain.internal.AbstractType
getJavaType, getTypeName
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 org.hibernate.metamodel.model.domain.DomainType
getTypeName
-
从接口继承的方法 javax.persistence.metamodel.IdentifiableType
getIdClassAttributes, hasSingleIdAttribute, hasVersionAttribute
-
从接口继承的方法 org.hibernate.metamodel.model.domain.spi.IdentifiableTypeDescriptor
collectIdClassAttributes, getDeclaredId, getDeclaredVersion, getId, getIdType, getInFlightAccess, getSupertype, getVersion, hasIdClass, locateIdAttribute, locateVersionAttribute, visitIdClassAttributes
-
从接口继承的方法 javax.persistence.metamodel.ManagedType
getAttributes, getDeclaredAttributes, getDeclaredPluralAttributes, getDeclaredSingularAttributes, getPluralAttributes, getSingularAttributes
-
从接口继承的方法 org.hibernate.metamodel.model.domain.spi.ManagedTypeDescriptor
findAttribute, findDeclaredAttribute, findSubType, findSubType, getAttribute, getCollection, getCollection, getDeclaredAttribute, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDefaultGraph, getList, getList, getMap, getMap, getPluralAttribute, getSet, getSet, getSingularAttribute, getSingularAttribute
-
-
-
-
构造器详细资料
-
EntityTypeImpl
public EntityTypeImpl(Class javaType, IdentifiableTypeDescriptor<? super J> superType, PersistentClass persistentClass, SessionFactoryImplementor sessionFactory)
-
-
方法详细资料
-
getName
public String getName()
从接口复制的说明:ManagedTypeDescriptorThe Hibernate "type name" ("entity name" - for non-POJO representations)- 指定者:
getName在接口中javax.persistence.metamodel.EntityType<J>- 指定者:
getName在接口中ManagedTypeDescriptor<J>- 覆盖:
getName在类中AbstractManagedType<J>
-
getBindableType
public javax.persistence.metamodel.Bindable.BindableType getBindableType()
- 指定者:
getBindableType在接口中javax.persistence.metamodel.Bindable<J>
-
getBindableJavaType
public Class<J> getBindableJavaType()
- 指定者:
getBindableJavaType在接口中javax.persistence.metamodel.Bindable<J>
-
getPersistenceType
public javax.persistence.metamodel.Type.PersistenceType getPersistenceType()
- 指定者:
getPersistenceType在接口中javax.persistence.metamodel.Type<J>
-
getSuperType
public IdentifiableTypeDescriptor<? super J> getSuperType()
从接口复制的说明:ManagedTypeDescriptorGet this ManagedType's super type descriptor. ATM only supported for theIdentifiableTypeDescriptorbranch of the ManagedType tree- 指定者:
getSuperType在接口中IdentifiableTypeDescriptor<J>- 指定者:
getSuperType在接口中ManagedTypeDescriptor<J>- 覆盖:
getSuperType在类中AbstractIdentifiableType<J>
-
makeSubGraph
public <S extends J> SubGraphImplementor<S> makeSubGraph(Class<S> subType)
从接口复制的说明:ManagedTypeDescriptorMake a sub-graph based on one of this type's sub-types- 指定者:
makeSubGraph在接口中ManagedTypeDescriptor<J>
-
makeSubGraph
public SubGraphImplementor<J> makeSubGraph()
从接口复制的说明:ManagedTypeDescriptorMake an empty sub-graph based on this type.- 指定者:
makeSubGraph在接口中ManagedTypeDescriptor<J>- 覆盖:
makeSubGraph在类中AbstractManagedType<J>
-
-