EclipseLink 1.1.4, build 'v20100812-r7860' API Reference

org.eclipse.persistence.descriptors
Class CMPPolicy.KeyIsElementAccessor

java.lang.Object
  extended by org.eclipse.persistence.descriptors.CMPPolicy.KeyIsElementAccessor
All Implemented Interfaces:
java.io.Serializable, CMPPolicy.KeyElementAccessor
Enclosing class:
CMPPolicy

protected class CMPPolicy.KeyIsElementAccessor
extends java.lang.Object
implements CMPPolicy.KeyElementAccessor, java.io.Serializable

INTERNAL: This class will be used when the keyClass is a primitive

See Also:
Serialized Form

Field Summary
protected  java.lang.String attributeName
           
protected  org.eclipse.persistence.internal.helper.DatabaseField databaseField
           
 
Constructor Summary
CMPPolicy.KeyIsElementAccessor(java.lang.String attributeName, org.eclipse.persistence.internal.helper.DatabaseField databaseField)
           
 
Method Summary
 java.lang.String getAttributeName()
           
 org.eclipse.persistence.internal.helper.DatabaseField getDatabaseField()
           
 java.lang.Object getValue(java.lang.Object object)
           
 void setValue(java.lang.Object object, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributeName

protected java.lang.String attributeName

databaseField

protected org.eclipse.persistence.internal.helper.DatabaseField databaseField
Constructor Detail

CMPPolicy.KeyIsElementAccessor

public CMPPolicy.KeyIsElementAccessor(java.lang.String attributeName,
                                      org.eclipse.persistence.internal.helper.DatabaseField databaseField)
Method Detail

getAttributeName

public java.lang.String getAttributeName()
Specified by:
getAttributeName in interface CMPPolicy.KeyElementAccessor

getDatabaseField

public org.eclipse.persistence.internal.helper.DatabaseField getDatabaseField()
Specified by:
getDatabaseField in interface CMPPolicy.KeyElementAccessor

getValue

public java.lang.Object getValue(java.lang.Object object)
Specified by:
getValue in interface CMPPolicy.KeyElementAccessor

setValue

public void setValue(java.lang.Object object,
                     java.lang.Object value)
Specified by:
setValue in interface CMPPolicy.KeyElementAccessor

EclipseLink 1.1.4, build 'v20100812-r7860' API Reference