org.eclipse.persistence.descriptors
Class CMPPolicy.KeyIsElementAccessor
java.lang.Object
org.eclipse.persistence.descriptors.CMPPolicy.KeyIsElementAccessor
- All Implemented Interfaces:
- CMPPolicy.KeyElementAccessor
- Enclosing class:
- CMPPolicy
protected class CMPPolicy.KeyIsElementAccessor
- extends java.lang.Object
- implements CMPPolicy.KeyElementAccessor
INTERNAL:
This class will be used when the keyClass is a primitive
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attributeName
protected java.lang.String attributeName
databaseField
protected DatabaseField databaseField
CMPPolicy.KeyIsElementAccessor
public CMPPolicy.KeyIsElementAccessor(java.lang.String attributeName,
DatabaseField databaseField)
getAttributeName
public java.lang.String getAttributeName()
- Specified by:
getAttributeName
in interface CMPPolicy.KeyElementAccessor
getDatabaseField
public 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