| 
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.9.0) E52941-01  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  
java.util.Dictionary<K,V>
      
java.util.Hashtable
          
oracle.dss.rules.RuleContext
public class RuleContext
Information about an item in a Dataview. RuleContext objects are used by Rules to determine whether the Rule applies to the item.
RuleContext objects store data objects that contain information about the Dataview item. The fields in this class are the keys into the RuleContext.
To retrieve, for example, a QDR data object for this context, you would call the the get method of the superclass, passing RuleContext.QDR as the key.
Do not pass null parameters to the put or get methods of the Hashtable. If either parameter is null, the method throws a NullPointerException. It is the responsibility of the user of the RuleContext to ensure that this does not happen.
| Field Summary | |
|---|---|
static java.lang.String | 
COMPONENT_TYPEKey for an Integer object that is used by the ComponentTypeDiscriminator. | 
static java.lang.String | 
DATA_ACCESSKey for the DATA_ACCESS object that is used by the Discriminator. | 
static java.lang.String | 
DATE_VALUEKey for a Date value. | 
static java.lang.String | 
DIMENSIONQDRKey for a DIMENSIONQDR. | 
static java.lang.String | 
ISPERCENTKey for a Boolean value. | 
static int | 
NOT_TOTALValue for TOTALS_RELATION: The cell that is being formatted is not a total. | 
static java.lang.String | 
NUMBER_VALUEKey for a Number. | 
static java.lang.String | 
POSITIONKey for a ComponentInfo. | 
static java.lang.String | 
QDRKey for a QDR. | 
static java.lang.String | 
STRING_VALUEKey for a String value. | 
static int | 
TOTAL_CELLValue for TOTALS_RELATION: The cell that is being formatted is a total. | 
static java.lang.String | 
TOTALS_RELATIONKey for an Integer value that is used by the TotalsDiscriminator. | 
| Constructor Summary | |
|---|---|
RuleContext()Constructor.  | 
|
| Method Summary | |
|---|---|
 java.lang.Object | 
clone()Clones this RuleContext. | 
 boolean | 
isStopAtFirstMatch()Indicates whether bundles of rules stop being run after a RuleBundle is run that has a Rule that applies and has been fired. | 
 void | 
setStopAtFirstMatch(boolean v)Specifies whether bundles of rules stop being run after a RuleBundle is run that has a Rule that applies and has been fired. | 
| Methods inherited from class java.util.Hashtable | 
|---|
clear, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values | 
| Methods inherited from class java.lang.Object | 
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String QDR
QDR. The QDR will most likely be used by a QDRDiscriminator.
public static final java.lang.String DIMENSIONQDR
DIMENSIONQDR. The DIMENSIONQDR will most likely be used by a QDRDiscriminator.
public static final java.lang.String POSITION
ComponentInfo. The ComponentInfo will most likely be used by a PositionDiscriminator.
public static final java.lang.String NUMBER_VALUE
Number. The Number will most likely be used by a NumberValueDiscriminator.
public static final java.lang.String DATE_VALUE
Date value.
public static final java.lang.String STRING_VALUE
String value.
public static final java.lang.String ISPERCENT
Boolean value. If the Boolean is true, the data value should be formatted as a percent value.
public static final java.lang.String COMPONENT_TYPE
Integer object that is used by the ComponentTypeDiscriminator. The Integer should identify the type of component.
public static final java.lang.String DATA_ACCESS
DATA_ACCESS object that is used by the Discriminator.
public static final java.lang.String TOTALS_RELATION
Integer value that is used by the TotalsDiscriminator. The Integer should identify whether the cell that is being formatted is a total. Valid constants are listed in the See Also section.
NOT_TOTAL, TOTAL_CELL, Constant Field Valuespublic static final int NOT_TOTAL
TOTALS_RELATION: The cell that is being formatted is not a total.
public static final int TOTAL_CELL
TOTALS_RELATION: The cell that is being formatted is a total.
| Constructor Detail | 
|---|
public RuleContext()
| Method Detail | 
|---|
public java.lang.Object clone()
RuleContext. This method creates a shallow copy.clone in class java.util.HashtableRuleContext.public void setStopAtFirstMatch(boolean v)
RuleBundle is run that has a Rule that applies and has been fired. Stopping at the first RuleBundle prevents rules that are in later rule bundles in the vector from changing the effect of the RuleBundle. Stopping at the first applicable rule also enhances performance.v - true to stop running rule bundles after the first bundle that has an applicable rule, false to run all the rule bundles.public boolean isStopAtFirstMatch()
RuleBundle is run that has a Rule that applies and has been fired. Stopping at the first RuleBundle prevents rules that are in later rule bundles in the vector from changing the effect of the RuleBundle. Stopping at the first applicable rule also enhances performance.true if rule bundles are not run after the first bundle that has an applicable rule, false if the all rule bundles are run.
  | 
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.9.0) E52941-01  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||