org.eclipse.birt.report.model.api
Class RuleHandle

java.lang.Object
  extended by org.eclipse.birt.report.model.api.ElementDetailHandle
      extended by org.eclipse.birt.report.model.api.ValueHandle
          extended by org.eclipse.birt.report.model.api.StructureHandle
              extended by org.eclipse.birt.report.model.api.RuleHandle

public class RuleHandle
extends StructureHandle

Represents a rule handle.


Field Summary
 
Fields inherited from class org.eclipse.birt.report.model.api.StructureHandle
structRef
 
Fields inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle
elementHandle
 
Constructor Summary
RuleHandle(DesignElementHandle element, org.eclipse.birt.report.model.core.MemberRef ref)
          Construct an handle to deal with the action structure.
RuleHandle(SimpleValueHandle valueHandle, int index)
          Constructs the handle of configuration variable.
 
Method Summary
 java.lang.String getDisplayExpression()
          Returns the display value of the rule.
 java.lang.String getRuleExpression()
          Returns the static value of this rule.
 void setDisplayExpression(java.lang.String expre)
          Sets the display value of this rule.
 void setRuleExpression(java.lang.String expre)
          Sets the static value of the rule.
 
Methods inherited from class org.eclipse.birt.report.model.api.StructureHandle
drop, getDefn, getExternalizedValue, getMember, getProperty, getPropertyDefn, getReference, getStringProperty, getStructure, isDesignTime, iterator, setDesignTime, setProperty, setPropertySilently
 
Methods inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle
getDesign, getElement, getElementHandle, getModule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleHandle

public RuleHandle(DesignElementHandle element,
                  org.eclipse.birt.report.model.core.MemberRef ref)
Construct an handle to deal with the action structure.

Parameters:
element - the element that defined the action.
ref - reference to the action property.

RuleHandle

public RuleHandle(SimpleValueHandle valueHandle,
                  int index)
Constructs the handle of configuration variable.

Parameters:
valueHandle - the value handle for configuration variable list of one property
index - the position of this configuration variable in the list
Method Detail

getRuleExpression

public java.lang.String getRuleExpression()
Returns the static value of this rule.

Returns:
the static value

setRuleExpression

public void setRuleExpression(java.lang.String expre)
Sets the static value of the rule.

Parameters:
expre - the static value to set

getDisplayExpression

public java.lang.String getDisplayExpression()
Returns the display value of the rule.

Returns:
the display value

setDisplayExpression

public void setDisplayExpression(java.lang.String expre)
Sets the display value of this rule.

Parameters:
expre - the display value to set


Copyright © 2008 Actuate Corp. All rights reserved.