public class JAXBValueStore extends java.lang.Object implements ValueStore
| Constructor and Description |
|---|
JAXBValueStore(JAXBHelperContext aJAXBHelperContext,
java.lang.Object anEntity) |
JAXBValueStore(JAXBHelperContext aJAXBHelperContext,
SDOType sdoType) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public JAXBValueStore(JAXBHelperContext aJAXBHelperContext, SDOType sdoType)
public JAXBValueStore(JAXBHelperContext aJAXBHelperContext, java.lang.Object anEntity)
public void initialize(DataObject aDataObject)
initialize in interface ValueStorepublic java.lang.Object getDeclaredProperty(int propertyIndex)
getDeclaredProperty in interface ValueStorepublic void setDeclaredProperty(int propertyIndex,
java.lang.Object value)
setDeclaredProperty in interface ValueStorepublic boolean isSetDeclaredProperty(int propertyIndex)
isSetDeclaredProperty in interface ValueStorepublic void unsetDeclaredProperty(int propertyIndex)
unsetDeclaredProperty in interface ValueStorepublic java.lang.Object getOpenContentProperty(Property property)
getOpenContentProperty in interface ValueStorepublic void setOpenContentProperty(Property property, java.lang.Object value)
setOpenContentProperty in interface ValueStorepublic boolean isSetOpenContentProperty(Property property)
isSetOpenContentProperty in interface ValueStorepublic void unsetOpenContentProperty(Property property)
unsetOpenContentProperty in interface ValueStorepublic void setManyProperty(Property property, java.lang.Object value)
setManyProperty in interface ValueStorepublic ValueStore copy()
ValueStorecopy in interface ValueStore