X - The type containing the represented attributeT - The type of the represented attributepublic class SingularAttributeImpl<X,T> extends AttributeImpl<X,T> implements javax.persistence.metamodel.SingularAttribute<X,T>
| Constructor and Description |
|---|
SingularAttributeImpl(org.datanucleus.metadata.AbstractMemberMetaData mmd,
ManagedTypeImpl<X> owner)
Constructor for a single-valued attribute.
|
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getBindableJavaType() |
javax.persistence.metamodel.Bindable.BindableType |
getBindableType() |
boolean |
isId() |
boolean |
isOptional() |
boolean |
isVersion() |
getDeclaringType, getJavaMember, getJavaType, getMetadata, getName, getPersistentAttributeType, getType, isAssociation, isCollectionpublic SingularAttributeImpl(org.datanucleus.metadata.AbstractMemberMetaData mmd,
ManagedTypeImpl<X> owner)
mmd - Metadata for the memberowner - The owner typepublic boolean isId()
public boolean isOptional()
public boolean isVersion()
public Class<T> getBindableJavaType()
getBindableJavaType in interface javax.persistence.metamodel.Bindable<T>public javax.persistence.metamodel.Bindable.BindableType getBindableType()
getBindableType in interface javax.persistence.metamodel.Bindable<T>Copyright © 2015. All rights reserved.