EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.sdo
Class DefaultValueStore

java.lang.Object
  extended by org.eclipse.persistence.sdo.DefaultValueStore
All Implemented Interfaces:
ValueStore

public class DefaultValueStore
extends java.lang.Object
implements ValueStore

Purpose:Default implementation of the ValueStore interface.

Responsibilities:


Constructor Summary
DefaultValueStore()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultValueStore

public DefaultValueStore()
Method Detail

getDeclaredProperty

public java.lang.Object getDeclaredProperty(int propertyIndex)
Specified by:
getDeclaredProperty in interface ValueStore

getOpenContentProperty

public java.lang.Object getOpenContentProperty(Property property)
Specified by:
getOpenContentProperty in interface ValueStore

setDeclaredProperty

public void setDeclaredProperty(int propertyIndex,
                                java.lang.Object value)
Specified by:
setDeclaredProperty in interface ValueStore

setOpenContentProperty

public void setOpenContentProperty(Property property,
                                   java.lang.Object value)
Specified by:
setOpenContentProperty in interface ValueStore

isSetDeclaredProperty

public boolean isSetDeclaredProperty(int propertyIndex)
Specified by:
isSetDeclaredProperty in interface ValueStore

isSetOpenContentProperty

public boolean isSetOpenContentProperty(Property property)
Specified by:
isSetOpenContentProperty in interface ValueStore

unsetDeclaredProperty

public void unsetDeclaredProperty(int propertyIndex)
Specified by:
unsetDeclaredProperty in interface ValueStore

unsetOpenContentProperty

public void unsetOpenContentProperty(Property property)
Specified by:
unsetOpenContentProperty in interface ValueStore

initialize

public void initialize(DataObject aDataObject)
Perform any post-instantiation integrity operations that could not be done during ValueStore creation.
Since the dataObject reference passed in may be bidirectional or self-referencing - we cannot set this variable until the dataObject itself is finished instantiation - hence the 2-step initialization.

Specified by:
initialize in interface ValueStore
Parameters:
dataObject -

setTypePropertyValues

public void setTypePropertyValues(java.lang.Object[] typePropertyValuesArray)
Set the values for declared properties

Parameters:
typePropertyValuesArray -

setTypePropertiesIsSetStatus

public void setTypePropertiesIsSetStatus(boolean[] typePropertiesIsSetStatusArray)
INTERNAL:

Parameters:
typePropertiesIsSetStatusArray - boolean[] of isSet values for declared properties

getTypePropertyValues

public java.lang.Object[] getTypePropertyValues()
INTERNAL:

Returns:
Object[] of the values of declared properties

getTypePropertiesIsSetStatus

public boolean[] getTypePropertiesIsSetStatus()
INTERNAL:

Returns:
boolean[] of isSet values for declared properties

setOpenContentValues

public void setOpenContentValues(java.util.Map openContentValues)
INTERNAL:

Parameters:
Map - openContentValues

getOpenContentValues

public java.util.Map getOpenContentValues()
INTERNAL:

Returns:
Map of values for open content properties

setManyProperty

public void setManyProperty(Property property,
                            java.lang.Object value)
Specified by:
setManyProperty in interface ValueStore

copy

public ValueStore copy()
Get a shallow copy of the original ValueStore. Changes made to the copy must not impact the original ValueStore

Specified by:
copy in interface ValueStore
Returns:
ValueStore

equals

public boolean equals(java.lang.Object obj)
Indicates if a given ValueStore is equal to this. The following attributes are tested for equality: - data object - type property values - open content property values - property isSet values

Overrides:
equals in class java.lang.Object

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference