|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.HierarchyList
inetsoft.uql.ConditionList
public class ConditionList
A ConditionList stores a list of conditions/junctions to be applied to the resulting data.
| Field Summary | |
|---|---|
static int |
ROOT_LEVEL
|
| Fields inherited from class inetsoft.uql.HierarchyList |
|---|
list |
| Constructor Summary | |
|---|---|
ConditionList()
Constructor. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone it. |
boolean |
equals(Object obj)
Check if equals another object. |
UserVariable[] |
getAllVariables()
Get all varibles of the list. |
DataRef |
getAttribute(int index)
Get the DataRef at the specified index. |
Condition |
getCondition(int index)
Deprecated. replaced by getXCondition. |
ConditionItem |
getConditionItem(DataRef ref)
Get the ConditionItem for the specified ref. |
ConditionItem |
getConditionItem(int index)
Get the ConditionItem at the specified index. |
ConditionList |
getConditionList()
Get the contained ConditionList. |
int |
getJunction(int index)
Get the junction at the specified index. |
JunctionOperator |
getJunctionOperator(int index)
Get the JunctionOperator at the specified index. |
XCondition |
getXCondition(int index)
Get the XCondition at the specified index. |
void |
negate()
Negate the condition list by changing all operators and negating each condition. |
void |
parseXML(Element tag)
Read in the XML representation of this object in 5.0. |
void |
replaceVariables(VariableTable vart)
Replace all variables in named group if any. |
void |
setConditionItem(int index,
DataRef attribute,
XCondition condition)
Replace the ConditionItem at the specified index. |
void |
setJunctionOperator(int index,
int junction)
Replace the JunctionOperator at the specified index. |
String |
toString()
To string. |
void |
validate(ColumnSelection columns)
Validate the condition list. |
void |
writeXML(PrintWriter writer)
Write to the XML. |
| Methods inherited from class inetsoft.uql.HierarchyList |
|---|
append, getConditionSize, getItem, getMaxLevel, getMinLevel, getSize, indent, insert, isConditionItem, isEmpty, isJunctionOperator, isValid, remove, removeAllItems, setItem, setLevel, trim, validate, validate |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ROOT_LEVEL
| Constructor Detail |
|---|
public ConditionList()
| Method Detail |
|---|
public ConditionItem getConditionItem(int index)
getConditionItem in interface ConditionListWrapperindex - the specified index.
public ConditionItem getConditionItem(DataRef ref)
ref - data ref.
public JunctionOperator getJunctionOperator(int index)
getJunctionOperator in interface ConditionListWrapperindex - the specified index.
public Condition getCondition(int index)
index - the specified index.
public XCondition getXCondition(int index)
index - the specified index.
public DataRef getAttribute(int index)
index - the specified index.
public int getJunction(int index)
index - the specified index
public void setConditionItem(int index,
DataRef attribute,
XCondition condition)
index - the index of the ConditionItem.attribute - the new DataRef.condition - the new Condition.
public void setJunctionOperator(int index,
int junction)
index - the index of the JunctionOperator.junction - the new junction.public ConditionList getConditionList()
getConditionList in interface ConditionListWrapperpublic UserVariable[] getAllVariables()
getAllVariables in interface ConditionListWrapperpublic void replaceVariables(VariableTable vart)
replaceVariables in interface ConditionListWrappervart - the VariableTable.public void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriter - the PrintWriter.
public void parseXML(Element tag)
throws Exception
parseXML in interface inetsoft.util.XMLSerializabletag - the XML element representing this object.
Exceptionpublic String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic Object clone()
clone in interface ConditionListWrapperclone in class HierarchyListpublic void validate(ColumnSelection columns)
columns - the specified column selection.public void negate()
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||