Class CMPPolicy.KeyIsElementAccessor
java.lang.Object
org.eclipse.persistence.descriptors.CMPPolicy.KeyIsElementAccessor
- All Implemented Interfaces:
Serializable,CMPPolicy.KeyElementAccessor
- Enclosing class:
- CMPPolicy
protected static final class CMPPolicy.KeyIsElementAccessor
extends Object
implements CMPPolicy.KeyElementAccessor, Serializable
INTERNAL:
This class will be used when the keyClass is a primitive
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected org.eclipse.persistence.internal.helper.DatabaseFieldprotected DatabaseMapping -
Constructor Summary
ConstructorsConstructorDescriptionKeyIsElementAccessor(String attributeName, org.eclipse.persistence.internal.helper.DatabaseField databaseField, DatabaseMapping mapping) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.persistence.internal.helper.DatabaseFieldbooleanvoid
-
Field Details
-
attributeName
-
databaseField
protected org.eclipse.persistence.internal.helper.DatabaseField databaseField -
mapping
-
-
Constructor Details
-
KeyIsElementAccessor
public KeyIsElementAccessor(String attributeName, org.eclipse.persistence.internal.helper.DatabaseField databaseField, DatabaseMapping mapping)
-
-
Method Details
-
getAttributeName
- Specified by:
getAttributeNamein interfaceCMPPolicy.KeyElementAccessor
-
getDatabaseField
public org.eclipse.persistence.internal.helper.DatabaseField getDatabaseField()- Specified by:
getDatabaseFieldin interfaceCMPPolicy.KeyElementAccessor
-
getMapping
- Specified by:
getMappingin interfaceCMPPolicy.KeyElementAccessor
-
getValue
public Object getValue(Object object, org.eclipse.persistence.internal.sessions.AbstractSession session) - Specified by:
getValuein interfaceCMPPolicy.KeyElementAccessor
-
isNestedAccessor
public boolean isNestedAccessor()- Specified by:
isNestedAccessorin interfaceCMPPolicy.KeyElementAccessor
-
setValue
- Specified by:
setValuein interfaceCMPPolicy.KeyElementAccessor
-