protected class CMPPolicy.KeyIsElementAccessor extends java.lang.Object implements CMPPolicy.KeyElementAccessor, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
attributeName |
protected org.eclipse.persistence.internal.helper.DatabaseField |
databaseField |
protected DatabaseMapping |
mapping |
Constructor and Description |
---|
CMPPolicy.KeyIsElementAccessor(java.lang.String attributeName,
org.eclipse.persistence.internal.helper.DatabaseField databaseField,
DatabaseMapping mapping) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeName() |
org.eclipse.persistence.internal.helper.DatabaseField |
getDatabaseField() |
DatabaseMapping |
getMapping() |
java.lang.Object |
getValue(java.lang.Object object,
org.eclipse.persistence.internal.sessions.AbstractSession session) |
boolean |
isNestedAccessor() |
void |
setValue(java.lang.Object object,
java.lang.Object value) |
protected java.lang.String attributeName
protected org.eclipse.persistence.internal.helper.DatabaseField databaseField
protected DatabaseMapping mapping
public CMPPolicy.KeyIsElementAccessor(java.lang.String attributeName, org.eclipse.persistence.internal.helper.DatabaseField databaseField, DatabaseMapping mapping)
public java.lang.String getAttributeName()
getAttributeName
in interface CMPPolicy.KeyElementAccessor
public org.eclipse.persistence.internal.helper.DatabaseField getDatabaseField()
getDatabaseField
in interface CMPPolicy.KeyElementAccessor
public DatabaseMapping getMapping()
getMapping
in interface CMPPolicy.KeyElementAccessor
public java.lang.Object getValue(java.lang.Object object, org.eclipse.persistence.internal.sessions.AbstractSession session)
getValue
in interface CMPPolicy.KeyElementAccessor
public boolean isNestedAccessor()
isNestedAccessor
in interface CMPPolicy.KeyElementAccessor
public void setValue(java.lang.Object object, java.lang.Object value)
setValue
in interface CMPPolicy.KeyElementAccessor