Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.rules
Interface Mergeable

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Subinterfaces:
MergeableXML

public interface Mergeable
extends java.io.Serializable, java.lang.Cloneable

Methods that are necessary for merging groups of properties. Objects that implement this interface are used by Rule classes to specify how an item in a DataView, such as a cell in a table header or a number in a graph, should be painted.

Because several different Rules can affect the properties that determine how an object is painted, the classes that define these properties must be able to be merged together to make a single set of specifications for painting a DataView.

For example, the ViewFormat, which groups properties that specify how numbers are formatted in a DataView, implements this interface. Imagine a ViewFormat in which the ScaleFactor property has been set, and another ViewFormat in which the CurrencySymbol format has been set. These two ViewFormat objects can be merged, resulting in a single ViewFormat in which both the ScaleFactor and CurrencySymbol properties are set.

See Also:
Rule, ViewFormat

Method Summary
 java.lang.Object clone()
          Clones this object.
 boolean isAnythingOverridden()
          Specifies whether any property has been explicitly set.
 void merge(Mergeable from)
          Merges the specified object with this object.

 

Method Detail

isAnythingOverridden

public boolean isAnythingOverridden()
Specifies whether any property has been explicitly set.
Parameters:
true - if any property has been set explicitly, even if the set value is the same as the previous value, false if no property has been set.

merge

public void merge(Mergeable from)
Merges the specified object with this object. If both objects set the same property, then the value from the specified object is used.
Parameters:
from - The Mergeable object from which to get property values to merge over the property values of this object. Normally from is the Mergeable object from the Rule that applies and is being run.

clone

public java.lang.Object clone()
Clones this object.
Returns:
The clone of this object.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.