X - The represented type that contains the attributeY - The type of the represented attributepublic abstract class AttributeImpl<X,Y> extends Object implements Attribute<X,Y>
Attribute.Attribute.PersistentAttributeType| Constructor and Description |
|---|
AttributeImpl(ManagedTypeImpl<X> declaringType,
AttributeMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
Y |
get(Object instance)
Returns the attribute value of instance.
|
Integer |
getAttributeId()
Returns the ordinal id of the attribute.
|
ManagedTypeImpl<X> |
getDeclaringType() |
Member |
getJavaMember() |
Class<Y> |
getJavaType() |
AbstractLocator |
getLocator()
Returns the locator of the AttributeImpl.
|
AttributeMetadata |
getMetadata()
Returns the metadata of the attribute.
|
MetamodelImpl |
getMetamodel()
Returns the metamodel.
|
String |
getName() |
void |
set(Object instance,
Object value)
Sets the attribute value of instance.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPersistentAttributeType, isAssociation, isCollectionpublic AttributeImpl(ManagedTypeImpl<X> declaringType, AttributeMetadata metadata)
declaringType - the declaring typemetadata - the metadatapublic Y get(Object instance)
instance - the instance of which the value to be returnedpublic Integer getAttributeId()
public ManagedTypeImpl<X> getDeclaringType()
getDeclaringType in interface Attribute<X,Y>public Member getJavaMember()
getJavaMember in interface Attribute<X,Y>public AbstractLocator getLocator()
public AttributeMetadata getMetadata()
public MetamodelImpl getMetamodel()
Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.