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 SingularAttribute<X,T>
Attribute.PersistentAttributeType
Bindable.BindableType
fmd, owner
Constructor and Description |
---|
Members.SingularAttributeImpl(AbstractManagedType<X> owner,
FieldMetaData fmd) |
Modifier and Type | Method and Description |
---|---|
Class<T> |
getBindableJavaType()
Returns the bindable Java type of this attribute.
|
Bindable.BindableType |
getBindableType()
Categorizes bindable type represented by this attribute.
|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getType
getDeclaringType, getJavaMember, getJavaType, getName, isAssociation, isCollection
public Members.SingularAttributeImpl(AbstractManagedType<X> owner, FieldMetaData fmd)
public boolean isId()
isId
in interface SingularAttribute<X,T>
public boolean isVersion()
isVersion
in interface SingularAttribute<X,T>
public boolean isOptional()
isOptional
in interface SingularAttribute<X,T>
public final Bindable.BindableType getBindableType()
getBindableType
in interface Bindable<T>
public final Class<T> getBindableJavaType()
getBindableJavaType
in interface Bindable<T>
public final Attribute.PersistentAttributeType getPersistentAttributeType()
getPersistentAttributeType
in interface Attribute<X,T>
getPersistentAttributeType
in class Members.Member<X,T>
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.