public class SingularAttributeImpl<X,Y> extends AbstractAttribute<X,Y> implements SingularAttribute<X,Y>, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SingularAttributeImpl.Identifier<X,Y>
Subclass used to simply instantiation of singular attributes representing an entity's
identifier.
|
static class |
SingularAttributeImpl.Version<X,Y>
Subclass used to simply instantiation of singular attributes representing an entity's
version.
|
Attribute.PersistentAttributeType
Bindable.BindableType
Constructor and Description |
---|
SingularAttributeImpl(String name,
Class<Y> javaType,
AbstractManagedType<X> declaringType,
Member member,
boolean isIdentifier,
boolean isVersion,
boolean isOptional,
Type<Y> attributeType,
Attribute.PersistentAttributeType persistentAttributeType) |
Modifier and Type | Method and Description |
---|---|
Class<Y> |
getBindableJavaType() |
Bindable.BindableType |
getBindableType() |
Type<Y> |
getType() |
boolean |
isAssociation() |
boolean |
isCollection() |
boolean |
isId() |
boolean |
isOptional() |
boolean |
isVersion() |
getDeclaringType, getJavaMember, getJavaType, getName, getPersistentAttributeType, readObject, writeObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDeclaringType, getJavaMember, getJavaType, getName, getPersistentAttributeType
public SingularAttributeImpl(String name, Class<Y> javaType, AbstractManagedType<X> declaringType, Member member, boolean isIdentifier, boolean isVersion, boolean isOptional, Type<Y> attributeType, Attribute.PersistentAttributeType persistentAttributeType)
public boolean isId()
isId
in interface SingularAttribute<X,Y>
public boolean isVersion()
isVersion
in interface SingularAttribute<X,Y>
public boolean isOptional()
isOptional
in interface SingularAttribute<X,Y>
public boolean isAssociation()
isAssociation
in interface Attribute<X,Y>
public boolean isCollection()
isCollection
in interface Attribute<X,Y>
public Bindable.BindableType getBindableType()
getBindableType
in interface Bindable<Y>
public Class<Y> getBindableJavaType()
getBindableJavaType
in interface Bindable<Y>
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.