Skip navigation links


com.essbase.eas.framework.defs.transfer
Class CDataObject

java.lang.Object
  extended by com.essbase.eas.framework.defs.transfer.CDataObject


public class CDataObject
extends java.lang.Object

This class shall be used to identify objects that should use the CDATASection to transfer information between the server and client using a CDATASectionNode for XML document. The CDATASection of the XML document is not parsed and so the contents are preserved as is. This will help preserve the tabs and linefeeds during the XML transfer

Since:
6.5.3
Version:
6.5.4
Author:
Namita Varma

Constructor Summary
CDataObject()
           
CDataObject(java.lang.Object value)
          Creates a CDataObject containing the data as specified by the String representation of the Object value
CDataObject(java.lang.String value)
          Creates a CDataObject containing the data as specified by the String value

 

Method Summary
 java.lang.String getData()
          Returns the String containing data for this CDataObject
static boolean isDefaultPropertyCheckingSupported()
          This property is used to check if a default value is supported by this class.
static boolean isDefaultValue(CDataObject obj)
          Checks if the value in the argument is the same as the default value defined for this class.
 void setData(java.lang.Object value)
          Sets the String value to the data for this CDataObject
 void setData(java.lang.String value)
          Sets the String value to the data for this CDataObject
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

CDataObject

public CDataObject(java.lang.String value)
Creates a CDataObject containing the data as specified by the String value
Parameters:
value - the String used to initialize the data for this CDataObject

CDataObject

public CDataObject(java.lang.Object value)
Creates a CDataObject containing the data as specified by the String representation of the Object value
Parameters:
value - the Object used to initialize the data for this CDataObject

CDataObject

public CDataObject()

Method Detail

getData

public java.lang.String getData()
Returns the String containing data for this CDataObject
Returns:
the data for this object

setData

public void setData(java.lang.String value)
Sets the String value to the data for this CDataObject
Parameters:
value - the data to set

setData

public void setData(java.lang.Object value)
Sets the String value to the data for this CDataObject
Parameters:
value - the data to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isDefaultValue

public static boolean isDefaultValue(CDataObject obj)
Checks if the value in the argument is the same as the default value defined for this class.
Parameters:
obj - the CDataObject for which the default values are to be tested
Returns:
true if the data in obj is same as the default value false otherwise

isDefaultPropertyCheckingSupported

public static boolean isDefaultPropertyCheckingSupported()
This property is used to check if a default value is supported by this class.
Returns:
true if the default value for this object can be tested.

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.