X - The type containing the represented attributeT - The type of the represented attributepublic class AssociatedSingularAttribute<X,T> extends SingularAttributeImpl<X,T> implements javax.persistence.metamodel.SingularAttribute<X,T>
SingularMapping representing types of ManyToOne and OneToOne| Constructor and Description |
|---|
AssociatedSingularAttribute(ManagedTypeImpl<X> declaringType,
javax.persistence.metamodel.Attribute.PersistentAttributeType attributeType,
AssociationAttributeMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMapsId()
Returns the mapsId of the AssociatedSingularAttribute.
|
AssociationAttributeMetadata |
getMetadata()
Returns the metadata of the attribute.
|
javax.persistence.metamodel.Attribute.PersistentAttributeType |
getPersistentAttributeType() |
EntityTypeImpl<T> |
getType() |
boolean |
isAssociation() |
boolean |
isId() |
boolean |
isJoined()
Returns if the association is joined.
|
boolean |
isOptional() |
boolean |
isOwner()
Returns if the attribute is the owner.
|
boolean |
isVersion() |
String |
toString() |
getBindableJavaType, getBindableType, isCollectionget, getAttributeId, getDeclaringType, getJavaMember, getJavaType, getLocator, getMetamodel, getName, setclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic AssociatedSingularAttribute(ManagedTypeImpl<X> declaringType, javax.persistence.metamodel.Attribute.PersistentAttributeType attributeType, AssociationAttributeMetadata metadata)
declaringType - the declaring typemetadata - the metadataattributeType - the type of the attributepublic String getMapsId()
public AssociationAttributeMetadata getMetadata()
getMetadata in class AttributeImpl<X,T>public javax.persistence.metamodel.Attribute.PersistentAttributeType getPersistentAttributeType()
public EntityTypeImpl<T> getType()
public boolean isAssociation()
public boolean isId()
public boolean isJoined()
public boolean isOptional()
public boolean isOwner()
public boolean isVersion()
public String toString()
toString in class SingularAttributeImpl<X,T>Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.