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
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
mapping
protected DatabaseMapping mapping
CMPPolicy.KeyIsElementAccessor
public CMPPolicy.KeyIsElementAccessor(java.lang.String attributeName,
org.eclipse.persistence.internal.helper.DatabaseField databaseField,
DatabaseMapping mapping)
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
getMapping
public DatabaseMapping getMapping()
- Specified by:
getMapping
in interface CMPPolicy.KeyElementAccessor
getValue
public java.lang.Object getValue(java.lang.Object object,
org.eclipse.persistence.internal.sessions.AbstractSession session)
- Specified by:
getValue
in interface CMPPolicy.KeyElementAccessor
isNestedAccessor
public boolean isNestedAccessor()
- Specified by:
isNestedAccessor
in interface CMPPolicy.KeyElementAccessor
setValue
public void setValue(java.lang.Object object,
java.lang.Object value)
- Specified by:
setValue
in interface CMPPolicy.KeyElementAccessor