类 SingularAttributeImpl<D,J>
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.internal.AbstractAttribute<D,J>
-
- org.hibernate.metamodel.model.domain.internal.SingularAttributeImpl<D,J>
-
- 所有已实现的接口:
Serializable,javax.persistence.metamodel.Attribute<D,J>,javax.persistence.metamodel.Bindable<J>,javax.persistence.metamodel.SingularAttribute<D,J>,PersistentAttribute<D,J>,PersistentAttributeDescriptor<D,J>,SingularPersistentAttribute<D,J>
public class SingularAttributeImpl<D,J> extends AbstractAttribute<D,J> implements SingularPersistentAttribute<D,J>, Serializable
- 作者:
- Emmanuel Bernard, Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classSingularAttributeImpl.Identifier<D,J>Subclass used to simplify instantiation of singular attributes representing an entity's identifier.static classSingularAttributeImpl.Version<X,Y>Subclass used to simply instantiation of singular attributes representing an entity's version.
-
构造器概要
构造器 构造器 说明 SingularAttributeImpl(ManagedTypeDescriptor<D> declaringType, String name, javax.persistence.metamodel.Attribute.PersistentAttributeType attributeNature, SimpleTypeDescriptor<J> attributeType, Member member, boolean isIdentifier, boolean isVersion, boolean isOptional)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Class<J>getBindableJavaType()javax.persistence.metamodel.Bindable.BindableTypegetBindableType()SimpleTypeDescriptor<J>getKeyGraphType()SimpleTypeDescriptor<J>getType()SimpleTypeDescriptor<J>getValueGraphType()For a singular attribute, the value type is defined as the attribute typebooleanisAssociation()booleanisCollection()booleanisId()booleanisOptional()booleanisVersion()-
从类继承的方法 org.hibernate.metamodel.model.domain.internal.AbstractAttribute
getDeclaringType, getJavaMember, getName, getPersistentAttributeType, readObject, toString, writeObject
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 org.hibernate.metamodel.model.domain.spi.SingularPersistentAttribute
getDeclaringType, getJavaType
-
-
-
-
构造器详细资料
-
SingularAttributeImpl
public SingularAttributeImpl(ManagedTypeDescriptor<D> declaringType, String name, javax.persistence.metamodel.Attribute.PersistentAttributeType attributeNature, SimpleTypeDescriptor<J> attributeType, Member member, boolean isIdentifier, boolean isVersion, boolean isOptional)
-
-
方法详细资料
-
getValueGraphType
public SimpleTypeDescriptor<J> getValueGraphType()
从接口复制的说明:SingularPersistentAttributeFor a singular attribute, the value type is defined as the attribute type- 指定者:
getValueGraphType在接口中PersistentAttribute<D,J>- 指定者:
getValueGraphType在接口中PersistentAttributeDescriptor<D,J>- 指定者:
getValueGraphType在接口中SingularPersistentAttribute<D,J>- 覆盖:
getValueGraphType在类中AbstractAttribute<D,J>
-
getKeyGraphType
public SimpleTypeDescriptor<J> getKeyGraphType()
- 指定者:
getKeyGraphType在接口中PersistentAttribute<D,J>- 指定者:
getKeyGraphType在接口中PersistentAttributeDescriptor<D,J>
-
isVersion
public boolean isVersion()
-
isOptional
public boolean isOptional()
-
getType
public SimpleTypeDescriptor<J> getType()
-
isAssociation
public boolean isAssociation()
-
isCollection
public boolean isCollection()
-
getBindableType
public javax.persistence.metamodel.Bindable.BindableType getBindableType()
- 指定者:
getBindableType在接口中javax.persistence.metamodel.Bindable<D>
-
-