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.PersistentAttributeType
Bindable.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, isCollection
getBindableJavaType, getBindableType
boolean isId()
boolean isVersion()
boolean isOptional()
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.