|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.mappings.AttributeAccessor
org.eclipse.persistence.sdo.helper.SDOFragmentMappingAttributeAccessor
public class SDOFragmentMappingAttributeAccessor
Purpose: A wrapper class for handling cases when the domain object attributes are to be accessed thru the accessor methods that are called "get" and "set". This is to be used when marsalling/unmarshalling SDODataObjects. The propertyName is the name of the property on the DataObject and that must be set on this accessor.
Field Summary | |
---|---|
protected HelperContext |
helperContext
|
protected SDOProperty |
property
|
Fields inherited from class org.eclipse.persistence.mappings.AttributeAccessor |
---|
attributeName, isReadOnly, isWriteOnly |
Constructor Summary | |
---|---|
SDOFragmentMappingAttributeAccessor(SDOProperty property,
HelperContext helper)
|
Method Summary | |
---|---|
java.lang.Object |
getAttributeValueFromObject(java.lang.Object anObject)
Gets the value of an instance variable in the object. |
SDOProperty |
getPropertyName()
INTERNAL: |
void |
initializeAttributes(java.lang.Class theJavaClass)
Set get and set method after creating these methods by using get and set method names |
boolean |
isMethodAttributeAccessor()
INTERNAL: |
void |
setAttributeValueInObject(java.lang.Object domainObject,
java.lang.Object attributeValue)
Sets the value of the instance variable in the object to the value. |
void |
setProperty(SDOProperty property)
INTERNAL: |
Methods inherited from class org.eclipse.persistence.mappings.AttributeAccessor |
---|
clone, getAttributeClass, getAttributeName, isInitialized, isReadOnly, isWriteOnly, setAttributeName, setIsReadOnly, setIsWriteOnly |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SDOProperty property
protected HelperContext helperContext
Constructor Detail |
---|
public SDOFragmentMappingAttributeAccessor(SDOProperty property, HelperContext helper)
Method Detail |
---|
public java.lang.Object getAttributeValueFromObject(java.lang.Object anObject) throws DescriptorException
getAttributeValueFromObject
in class AttributeAccessor
DescriptorException
public void initializeAttributes(java.lang.Class theJavaClass) throws DescriptorException
initializeAttributes
in class AttributeAccessor
DescriptorException
public boolean isMethodAttributeAccessor()
isMethodAttributeAccessor
in class AttributeAccessor
public void setAttributeValueInObject(java.lang.Object domainObject, java.lang.Object attributeValue) throws DescriptorException
setAttributeValueInObject
in class AttributeAccessor
DescriptorException
public void setProperty(SDOProperty property)
public SDOProperty getPropertyName()
|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |