X
- The type containing the represented attributeT
- The type of the represented attributepublic static final class Members.SingularAttributeImpl<X,T> extends Members.Member<X,T> implements javax.persistence.metamodel.SingularAttribute<X,T>
fmd, owner
Constructor and Description |
---|
SingularAttributeImpl(AbstractManagedType<X> owner,
FieldMetaData fmd) |
Modifier and Type | Method and Description |
---|---|
Class<T> |
getBindableJavaType()
Returns the bindable Java type of this attribute.
|
javax.persistence.metamodel.Bindable.BindableType |
getBindableType()
Categorizes bindable type represented by this attribute.
|
javax.persistence.metamodel.Attribute.PersistentAttributeType |
getPersistentAttributeType()
Categorizes the attribute.
|
boolean |
isId()
Affirms if this attribute is an id attribute.
|
boolean |
isOptional()
Affirms if this attribute can be null.
|
boolean |
isVersion()
Affirms if this attribute represents a version attribute.
|
compareTo, getDeclaringType, getJavaMember, getJavaType, getName, getType, isAssociation, isCollection, toString
public SingularAttributeImpl(AbstractManagedType<X> owner, FieldMetaData fmd)
public boolean isId()
public boolean isVersion()
public boolean isOptional()
public javax.persistence.metamodel.Bindable.BindableType getBindableType()
getBindableType
in interface javax.persistence.metamodel.Bindable<T>
public Class<T> getBindableJavaType()
getBindableJavaType
in interface javax.persistence.metamodel.Bindable<T>
public javax.persistence.metamodel.Attribute.PersistentAttributeType getPersistentAttributeType()
getPersistentAttributeType
in interface javax.persistence.metamodel.Attribute<X,T>
getPersistentAttributeType
in class Members.Member<X,T>
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.