com.crystaldecisions.sdk.occa.report.lib
Interface IClone

All Known Implementing Classes:
ConnectionInfo, ConnectionInfos, ExportOptions, Field, FormulaField, PageBasedExportFormatOptions, ParameterField, ParameterFieldDiscreteValue, ParameterFieldRangeValue, ParameterFieldValue, PropertyBag, PropertyBags, ReportSDKVector, Value, Values

public interface IClone

This interface provides methods for cloning and copying objects.


Method Summary
 java.lang.Object clone(boolean deepClone)
          Returns the new object that has been cloned.
 void copyTo(java.lang.Object destObject, boolean deepCopy)
          Copies the object.
 boolean hasContent(java.lang.Object obj)
          Returns true if this object contains the same elements as the passed in object.
 

Method Detail

clone

public java.lang.Object clone(boolean deepClone)

Returns the new object that has been cloned.

Parameters:
deepClone - true to use deep clone, false to use shallow.
Returns:
The new object that has been cloned.

copyTo

public void copyTo(java.lang.Object destObject,
                   boolean deepCopy)

Copies the object.

Parameters:
destObject - The destination object to copy to.
deepCopy - true to use deep copy, false to use shallow.

hasContent

public boolean hasContent(java.lang.Object obj)

Returns true if this object contains the same elements as the passed in object.

Parameters:
obj - The object to check for content.
Returns:
true if this object contains the same elements as the passed in object, otherwise false.