com.adobe.dct.transfer
Class DataDictionaryInstance

java.lang.Object
  extended by com.adobe.dct.transfer.DataDictionaryInstance
All Implemented Interfaces:
java.io.Serializable

public class DataDictionaryInstance
extends java.lang.Object
implements java.io.Serializable

Data Dictionary Instance contains the actual runtime data for an instance of the design time artifact - Data Dictionary.

See Also:
Serialized Form

Constructor Summary
DataDictionaryInstance()
           
 
Method Summary
 byte[] getCompressedDDBytes()
           
 DataDictionary getDataDictionary()
           
 java.lang.String getDataDictionaryId()
           
 java.lang.Object getObject()
           
 java.lang.Object getValue(java.lang.String path)
          Deprecated. 
 java.lang.Object getValue2(java.lang.String ddElementKey)
          Fetches the value for the given DDE in the Data Dictionary Instance
 void setCompressedDDBytes(byte[] compressedDDBytes)
           
 void setDataDictionary(DataDictionary dataDictionary)
           
 void setDataDictionaryId(java.lang.String dataDictionaryId)
           
 void setObject(java.lang.Object object)
           
 void setValue(java.lang.String path, java.lang.Object value)
          Deprecated. 
 void setValue2(java.lang.String ddElementKey, java.lang.Object value)
          Sets the value for the given DDE in the Data Dictionary Instance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataDictionaryInstance

public DataDictionaryInstance()
Method Detail

getObject

public java.lang.Object getObject()
Returns:
the object

setObject

public void setObject(java.lang.Object object)
Parameters:
object - the object to set

getDataDictionaryId

public java.lang.String getDataDictionaryId()
Returns:
the dataDictionaryId

setDataDictionaryId

public void setDataDictionaryId(java.lang.String dataDictionaryId)
Parameters:
dataDictionaryId - the dataDictionaryId to set

getDataDictionary

public DataDictionary getDataDictionary()
Returns:
the dataDictionary

setDataDictionary

public void setDataDictionary(DataDictionary dataDictionary)
Parameters:
dataDictionary - the dataDictionary to set

getValue

@Deprecated
public java.lang.Object getValue(java.lang.String path)
Deprecated. 

Fetches the value at the given path in the Data Dictionary Instance. This API has been marked @deprecated and has been replaced by getValue2() API. This API does not work on display names and also does not support fetching the value of elements under Collection elements in Data Dictionary hierarchy and returns null (for such cases). The support for the same has been added to getValue2() API.

Parameters:
path - - of Data Dictionary Element in the Data Dictionary hierarchy
Returns:
value of corresponding Data Dictionary Element

getValue2

public java.lang.Object getValue2(java.lang.String ddElementKey)
Fetches the value for the given DDE in the Data Dictionary Instance

Parameters:
ddElementKey - reference name of Data Dictionary Element
Returns:
value of corresponding Data Dictionary Element in Data Dictionary Instance

setValue

@Deprecated
public void setValue(java.lang.String path,
                                java.lang.Object value)
Deprecated. 

Sets the value at the given path in the Data Dictionary Instance. This API has been marked @deprecated and has been replaced by setValue2() API. This API does not work on display names and also does not support setting the value of elements under Collection elements in Data Dictionary hierarchy. The support for the same has been added to setValue2() API.

Parameters:
path - of Data Dictionary Element in the Data Dictionary hierarchy
value - of corresponding Data Dictionary Element

setValue2

public void setValue2(java.lang.String ddElementKey,
                      java.lang.Object value)
               throws DCTException
Sets the value for the given DDE in the Data Dictionary Instance

Parameters:
ddElementKey - reference name of Data Dictionary Element
value - value to be set for the given DDE
Throws:
DCTException

getCompressedDDBytes

public byte[] getCompressedDDBytes()

setCompressedDDBytes

public void setCompressedDDBytes(byte[] compressedDDBytes)


[an error occurred while processing this directive] [an error occurred while processing this directive]