Style Intelligence v12.0

inetsoft.uql
Class ConditionItem

java.lang.Object
  extended by inetsoft.uql.ConditionItem
All Implemented Interfaces:
HierarchyItem, Serializable, Cloneable

public class ConditionItem
extends Object
implements Serializable, HierarchyItem

A Condition Item represents a item of condition in condition group.

See Also:
Serialized Form

Constructor Summary
ConditionItem()
          Default constructor of Condition Item.
ConditionItem(DataRef attr, XCondition condition, int level)
          Create a Condition Item.
 
Method Summary
 Object clone()
          Clone this object.
 boolean equals(Object obj)
          Check if equals another object.
 DataRef getAttribute()
          Get the attribute name.
 Condition getCondition()
          Deprecated. replaced by getXCondition
 int getLevel()
          Get the condition item level.
 XCondition getXCondition()
          Get the condition.
 void parseXML(Element ctag)
          Read in the XML representation of this object.
 void setAttribute(DataRef ref)
          Get the attribute name.
 void setCondition(Condition cond)
          Deprecated. replaced by setXCondition
 void setLevel(int level)
          Get the condition item level.
 void setXCondition(XCondition cond)
          Set the XCondition.
 String toString()
          Get string representation.
 String toString(boolean shlvl)
          Get string representation.
 void writeXML(PrintWriter writer)
          Write this data selection to XML.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConditionItem

public ConditionItem()
Default constructor of Condition Item.


ConditionItem

public ConditionItem(DataRef attr,
                     XCondition condition,
                     int level)
Create a Condition Item.

Method Detail

getAttribute

public DataRef getAttribute()
Get the attribute name.


getCondition

public Condition getCondition()
Deprecated. replaced by getXCondition

Get the condition.


getXCondition

public XCondition getXCondition()
Get the condition.


getLevel

public int getLevel()
Get the condition item level.

Specified by:
getLevel in interface HierarchyItem

setLevel

public void setLevel(int level)
Get the condition item level.

Specified by:
setLevel in interface HierarchyItem

setAttribute

public void setAttribute(DataRef ref)
Get the attribute name.


setCondition

public void setCondition(Condition cond)
Deprecated. replaced by setXCondition

Set the condition.


setXCondition

public void setXCondition(XCondition cond)
Set the XCondition.


clone

public Object clone()
Clone this object.

Specified by:
clone in interface HierarchyItem
Overrides:
clone in class Object

toString

public String toString()
Get string representation.

Overrides:
toString in class Object

toString

public String toString(boolean shlvl)
Get string representation.


writeXML

public void writeXML(PrintWriter writer)
Write this data selection to XML.

Parameters:
writer - the stream to output the XML text to

parseXML

public void parseXML(Element ctag)
              throws Exception,
                     DOMException
Read in the XML representation of this object.

Parameters:
ctag - the XML element representing this object.
Throws:
Exception
DOMException

equals

public boolean equals(Object obj)
Check if equals another object.

Overrides:
equals in class Object

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.