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 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