public class DefaultValueStore extends java.lang.Object implements ValueStore
Purpose:Default implementation of the ValueStore interface.
Responsibilities:
Constructor and Description |
---|
DefaultValueStore() |
Modifier and Type | Method and Description |
---|---|
ValueStore |
copy()
Get a shallow copy of the original ValueStore.
|
boolean |
equals(java.lang.Object obj)
Indicates if a given ValueStore is equal to this.
|
java.lang.Object |
getDeclaredProperty(int propertyIndex) |
java.lang.Object |
getOpenContentProperty(Property property) |
java.util.Map |
getOpenContentValues()
INTERNAL:
|
boolean[] |
getTypePropertiesIsSetStatus()
INTERNAL:
|
java.lang.Object[] |
getTypePropertyValues()
INTERNAL:
|
void |
initialize(DataObject aDataObject)
Perform any post-instantiation integrity operations that could not be done during
ValueStore creation.
|
boolean |
isSetDeclaredProperty(int propertyIndex) |
boolean |
isSetOpenContentProperty(Property property) |
void |
setDeclaredProperty(int propertyIndex,
java.lang.Object value) |
void |
setManyProperty(Property property,
java.lang.Object value) |
void |
setOpenContentProperty(Property property,
java.lang.Object value) |
void |
setOpenContentValues(java.util.Map openContentValues)
INTERNAL:
|
void |
setTypePropertiesIsSetStatus(boolean[] typePropertiesIsSetStatusArray)
INTERNAL:
|
void |
setTypePropertyValues(java.lang.Object[] typePropertyValuesArray)
Set the values for declared properties
|
void |
unsetDeclaredProperty(int propertyIndex) |
void |
unsetOpenContentProperty(Property property) |
public java.lang.Object getDeclaredProperty(int propertyIndex)
getDeclaredProperty
in interface ValueStore
public java.lang.Object getOpenContentProperty(Property property)
getOpenContentProperty
in interface ValueStore
public void setDeclaredProperty(int propertyIndex, java.lang.Object value)
setDeclaredProperty
in interface ValueStore
public void setOpenContentProperty(Property property, java.lang.Object value)
setOpenContentProperty
in interface ValueStore
public boolean isSetDeclaredProperty(int propertyIndex)
isSetDeclaredProperty
in interface ValueStore
public boolean isSetOpenContentProperty(Property property)
isSetOpenContentProperty
in interface ValueStore
public void unsetDeclaredProperty(int propertyIndex)
unsetDeclaredProperty
in interface ValueStore
public void unsetOpenContentProperty(Property property)
unsetOpenContentProperty
in interface ValueStore
public void initialize(DataObject aDataObject)
initialize
in interface ValueStore
dataObject
- public void setTypePropertyValues(java.lang.Object[] typePropertyValuesArray)
typePropertyValuesArray
- public void setTypePropertiesIsSetStatus(boolean[] typePropertiesIsSetStatusArray)
typePropertiesIsSetStatusArray
- boolean[] of isSet values for declared propertiespublic java.lang.Object[] getTypePropertyValues()
public boolean[] getTypePropertiesIsSetStatus()
public void setOpenContentValues(java.util.Map openContentValues)
Map
- openContentValuespublic java.util.Map getOpenContentValues()
public void setManyProperty(Property property, java.lang.Object value)
setManyProperty
in interface ValueStore
public ValueStore copy()
copy
in interface ValueStore
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object