|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.AbstractCondition
inetsoft.uql.asset.RankingCondition
public class RankingCondition
Ranking condition, stores ranking information.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.AbstractCondition |
|---|
equal, negated, op, type |
| Fields inherited from interface inetsoft.uql.XCondition |
|---|
BETWEEN, BOTTOM_N, CONTAINS, CORRELATED, DATE_IN, EQUAL_TO, GREATER_THAN, LESS_THAN, LIKE, NONE, NULL, ONE_OF, PSEUDO, STARTING_WITH, TOP_N |
| Constructor Summary | |
|---|---|
RankingCondition()
Constructor. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone the object. |
boolean |
equals(Object obj)
Check if equqls another object. |
boolean |
evaluate(Object value)
Evaluate this condition against the specified value object. |
UserVariable[] |
getAllVariables()
Get all variables in the condition value list. |
DataRef |
getDataRef()
Get the data ref. |
Object |
getN()
Get the n option. |
boolean |
isEqualChangeable()
Check if equal is changeable. |
boolean |
isGroupOthers()
Check whether to group or discard other values. |
boolean |
isNegatedChangeable()
Check if negated is changeable. |
boolean |
isOperationChangeable()
Check if operation is changeable. |
boolean |
isTypeChangeable()
Check if type is changeable. |
boolean |
isValid()
Check if the condition is a valid condition. |
boolean |
isValid(ColumnSelection columns)
Check if the condition is a valid condition. |
void |
parseContents(Element elem)
Parse the contents. |
boolean |
printKey(PrintWriter writer)
Print the key to identify this content object. |
void |
replaceVariable(VariableTable vars)
Replace all embeded user variables. |
void |
setDataRef(DataRef ref)
Set the data ref. |
void |
setGroupOthers(boolean others)
Set whether to group or discard other values. |
boolean |
setN(Object n)
Set the n option. |
void |
setOperation(int op)
Set the comparison operation of this condition. |
String |
toString()
Get a textual representation of this object. |
void |
writeContents(PrintWriter writer)
Write the contents. |
| Methods inherited from class inetsoft.uql.AbstractCondition |
|---|
checkValueString, createDefaultValue, createXCondition, equalsContent, getBoolean, getDate, getDateObject, getObject, getObject, getOperation, getType, getValueSQLString, getValueString, getValueString, getValueString, isEqual, isNegated, parseAttributes, parseXML, setEqual, setNegated, setType, writeAttributes, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface inetsoft.util.XMLSerializable |
|---|
parseXML, writeXML |
| Constructor Detail |
|---|
public RankingCondition()
| Method Detail |
|---|
public boolean isTypeChangeable()
isTypeChangeable in interface XConditionpublic void setOperation(int op)
setOperation in interface XConditionsetOperation in class AbstractConditionop - one of the operation constants defined in this class.public boolean isOperationChangeable()
isOperationChangeable in interface XConditionpublic boolean isEqualChangeable()
isEqualChangeable in interface XConditionpublic boolean isNegatedChangeable()
isNegatedChangeable in interface XConditionpublic Object getN()
public boolean setN(Object n)
n - the specied n.public boolean isGroupOthers()
public void setGroupOthers(boolean others)
public void replaceVariable(VariableTable vars)
replaceVariable in interface XConditionvars - the specified variable table.public UserVariable[] getAllVariables()
getAllVariables in interface XConditionpublic boolean evaluate(Object value)
evaluate in interface XConditionvalue - the value object this condition should be compared with.
true if the value object meets this condition.public boolean isValid()
isValid in interface XConditionpublic boolean isValid(ColumnSelection columns)
public DataRef getDataRef()
public void setDataRef(DataRef ref)
ref - the specified data ref.public void writeContents(PrintWriter writer)
writeContents in interface XConditionwriter - the specified print writer.
public void parseContents(Element elem)
throws Exception
parseContents in interface XConditionelem - the specified xml element.
Exception
public boolean printKey(PrintWriter writer)
throws Exception
printKey in interface inetsoft.util.ContentObjectprintKey in class AbstractConditionExceptionpublic boolean equals(Object obj)
equals in class AbstractConditionpublic String toString()
toString in class ObjectString containing a textual representation of this
object.public Object clone()
clone in interface AssetObjectclone in interface XConditionclone in class AbstractCondition
|
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 | ||||||||