org.hibernate.ejb.metamodel
Class SingularAttributeImpl<X,Y>
java.lang.Object
org.hibernate.ejb.metamodel.AbstractAttribute<X,Y>
org.hibernate.ejb.metamodel.SingularAttributeImpl<X,Y>
- All Implemented Interfaces:
- Serializable, Attribute<X,Y>, Bindable<Y>, SingularAttribute<X,Y>, AttributeImplementor<X,Y>
- Direct Known Subclasses:
- SingularAttributeImpl.Identifier, SingularAttributeImpl.Version
public class SingularAttributeImpl<X,Y>
- extends AbstractAttribute<X,Y>
- implements SingularAttribute<X,Y>, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingularAttributeImpl
public SingularAttributeImpl(String name,
Class<Y> javaType,
AbstractManagedType<X> declaringType,
Member member,
boolean isIdentifier,
boolean isVersion,
boolean isOptional,
Type<Y> attributeType,
Attribute.PersistentAttributeType persistentAttributeType)
isId
public boolean isId()
-
- Specified by:
isId
in interface SingularAttribute<X,Y>
isVersion
public boolean isVersion()
-
- Specified by:
isVersion
in interface SingularAttribute<X,Y>
isOptional
public boolean isOptional()
-
- Specified by:
isOptional
in interface SingularAttribute<X,Y>
getType
public Type<Y> getType()
-
- Specified by:
getType
in interface SingularAttribute<X,Y>
isAssociation
public boolean isAssociation()
-
- Specified by:
isAssociation
in interface Attribute<X,Y>
isCollection
public boolean isCollection()
-
- Specified by:
isCollection
in interface Attribute<X,Y>
getBindableType
public Bindable.BindableType getBindableType()
-
- Specified by:
getBindableType
in interface Bindable<Y>
getBindableJavaType
public Class<Y> getBindableJavaType()
-
- Specified by:
getBindableJavaType
in interface Bindable<Y>
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.