public class SingularAttributeImpl<X,Y> extends AbstractAttribute<X,Y> implements javax.persistence.metamodel.SingularAttribute<X,Y>, java.io.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.
|
Constructor and Description |
---|
SingularAttributeImpl(java.lang.String name,
java.lang.Class<Y> javaType,
AbstractManagedType<X> declaringType,
java.lang.reflect.Member member,
boolean isIdentifier,
boolean isVersion,
boolean isOptional,
javax.persistence.metamodel.Type<Y> attributeType,
javax.persistence.metamodel.Attribute.PersistentAttributeType persistentAttributeType) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<Y> |
getBindableJavaType() |
javax.persistence.metamodel.Bindable.BindableType |
getBindableType() |
javax.persistence.metamodel.Type<Y> |
getType() |
boolean |
isAssociation() |
boolean |
isCollection() |
boolean |
isId() |
boolean |
isOptional() |
boolean |
isVersion() |
getDeclaringType, getJavaMember, getJavaType, getName, getPersistentAttributeType, readObject, writeObject
public SingularAttributeImpl(java.lang.String name, java.lang.Class<Y> javaType, AbstractManagedType<X> declaringType, java.lang.reflect.Member member, boolean isIdentifier, boolean isVersion, boolean isOptional, javax.persistence.metamodel.Type<Y> attributeType, javax.persistence.metamodel.Attribute.PersistentAttributeType persistentAttributeType)
public boolean isId()
public boolean isVersion()
public boolean isOptional()
public javax.persistence.metamodel.Type<Y> getType()
public boolean isAssociation()
public boolean isCollection()
public javax.persistence.metamodel.Bindable.BindableType getBindableType()
getBindableType
in interface javax.persistence.metamodel.Bindable<Y>
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.