|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sdo.helper.jaxb.JAXBValueStore
public class JAXBValueStore
The JAXBValueStore enables a DataObject to access data from a POJO. The link between an SDO property and a POJO property is through their XML representation. For the POJO property this corresponds to its JAXB mapping.
Constructor Summary | |
---|---|
JAXBValueStore(JAXBHelperContext aJAXBHelperContext,
java.lang.Object anEntity)
|
|
JAXBValueStore(JAXBHelperContext aJAXBHelperContext,
SDOType sdoType)
|
Method Summary | |
---|---|
ValueStore |
copy()
Get a shallow copy of the original ValueStore. |
java.lang.Object |
getDeclaredProperty(int propertyIndex)
Get the value from the wrapped POJO, wrapping in DataObjects as necessary. |
java.lang.Object |
getOpenContentProperty(Property property)
|
void |
initialize(DataObject aDataObject)
Initialize the value store with its associated DataObject. |
boolean |
isSetDeclaredProperty(int propertyIndex)
For isMany=false properties return true if not null. |
boolean |
isSetOpenContentProperty(Property property)
|
void |
setDeclaredProperty(int propertyIndex,
java.lang.Object value)
Set the value on the underlying POJO, unwrapping values as necessary. |
void |
setManyProperty(Property property,
java.lang.Object value)
|
void |
setOpenContentProperty(Property property,
java.lang.Object value)
|
void |
unsetDeclaredProperty(int propertyIndex)
For isMany=false properties set the value to null. |
void |
unsetOpenContentProperty(Property property)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JAXBValueStore(JAXBHelperContext aJAXBHelperContext, SDOType sdoType)
public JAXBValueStore(JAXBHelperContext aJAXBHelperContext, java.lang.Object anEntity)
Method Detail |
---|
public void initialize(DataObject aDataObject)
initialize
in interface ValueStore
public java.lang.Object getDeclaredProperty(int propertyIndex)
getDeclaredProperty
in interface ValueStore
public void setDeclaredProperty(int propertyIndex, java.lang.Object value)
setDeclaredProperty
in interface ValueStore
public boolean isSetDeclaredProperty(int propertyIndex)
isSetDeclaredProperty
in interface ValueStore
public void unsetDeclaredProperty(int propertyIndex)
unsetDeclaredProperty
in interface ValueStore
public java.lang.Object getOpenContentProperty(Property property)
getOpenContentProperty
in interface ValueStore
public void setOpenContentProperty(Property property, java.lang.Object value)
setOpenContentProperty
in interface ValueStore
public boolean isSetOpenContentProperty(Property property)
isSetOpenContentProperty
in interface ValueStore
public void unsetOpenContentProperty(Property property)
unsetOpenContentProperty
in interface ValueStore
public void setManyProperty(Property property, java.lang.Object value)
setManyProperty
in interface ValueStore
public ValueStore copy()
ValueStore
copy
in interface ValueStore
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |