Style Intelligence v12.0

inetsoft.uql
Class JunctionOperator

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

public class JunctionOperator
extends Object
implements Cloneable, Serializable, HierarchyItem

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

See Also:
Serialized Form

Field Summary
static int AND
           
static int OR
           
 
Constructor Summary
JunctionOperator()
          Create a Junction Operator.
JunctionOperator(int op, int level)
          Create a Junction Operator.
 
Method Summary
 Object clone()
          Clone this object.
 boolean equals(Object obj)
          Check if equals another object.
 int getJunction()
          Get the condition item level.
 int getLevel()
          Get the condition item level.
 void parseXML(Element tag)
          Read in the XML representation of this object.
 void setJunction(int op)
          Get the condition item level.
 void setLevel(int level)
          Get the condition item level.
 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
 

Field Detail

AND

public static final int AND
See Also:
Constant Field Values

OR

public static final int OR
See Also:
Constant Field Values
Constructor Detail

JunctionOperator

public JunctionOperator()
Create a Junction Operator.


JunctionOperator

public JunctionOperator(int op,
                        int level)
Create a Junction Operator.

Method Detail

getJunction

public int getJunction()
Get the condition item level.


getLevel

public int getLevel()
Get the condition item level.

Specified by:
getLevel in interface HierarchyItem

setJunction

public void setJunction(int op)
Get the condition item level.


setLevel

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

Specified by:
setLevel in interface HierarchyItem

clone

public Object clone()
Clone this object.

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

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 tag)
              throws IOException,
                     DOMException
Read in the XML representation of this object.

Parameters:
tag - the XML element representing this object.
Throws:
IOException
DOMException

toString

public String toString()
Get string representation.

Overrides:
toString in class Object

toString

public String toString(boolean shlvl)
Get string representation.


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.