X - The type containing the represented attributeT - The type of the represented attributepublic interface SingularAttribute<X,T> extends Attribute<X,T>, Bindable<T>
SingularAttribute represents persistent
single-valued properties or fields.Attribute.PersistentAttributeTypeBindable.BindableType| Modifier and Type | Method and Description |
|---|---|
Type<T> |
getType()
Return the type that represents the type of the attribute.
|
boolean |
isId()
Is the attribute an id attribute.
|
boolean |
isOptional()
Can the attribute be null.
|
boolean |
isVersion()
Is the attribute a version attribute.
|
getDeclaringType, getJavaMember, getJavaType, getName, getPersistentAttributeType, isAssociation, isCollectiongetBindableJavaType, getBindableTypeboolean isId()
boolean isVersion()
boolean isOptional()
Copyright © 2017 JBoss by Red Hat. All rights reserved.