org.eclipse.persistence.descriptors
Class CMPPolicy.KeyIsElementAccessor
java.lang.Object
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)
|
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 org.eclipse.persistence.internal.helper.DatabaseField databaseField
CMPPolicy.KeyIsElementAccessor
public CMPPolicy.KeyIsElementAccessor(java.lang.String attributeName,
org.eclipse.persistence.internal.helper.DatabaseField databaseField)
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