Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


oracle.dss.rules
Interface Mergeable

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Subinterfaces:
MergeableXML
All Known Implementing Classes:
BaseViewFormat, GraphStyle, ViewFormat, ViewSizing, ViewStyle

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 rendered.

Because several different Rules can affect the properties that determine how an object is rendered, the classes that define these properties must be able to be merged together to make a single set of specifications for rendering 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

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

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

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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


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