|
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.Condition
inetsoft.uql.asset.AssetCondition
public class AssetCondition
Asset condition extends Condition to support sub query value.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.Condition |
|---|
caseSensitive, ctype, dupcheck, values |
| 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 | |
|---|---|
AssetCondition()
Constructor. |
|
AssetCondition(String type)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
checkValidity()
Check if the condition is a valid condition. |
boolean |
evaluate(Object value)
Evaluate this condition against the specified value object. |
UserVariable[] |
getAllVariables()
Get all variables in the condition value list. |
int |
getCurrentRow()
Get current row. |
void |
getDependeds(Set set)
Get the assemblies depended on. |
DataRef |
getMainAttribute()
Get the main attribute. |
DataRef |
getSubAttribute()
Get the sub attribute. |
SubQueryValue |
getSubQueryValue()
Get the sub query value if any. |
List |
getValues()
Get the values of a row. |
void |
init()
Initialize the runtime environment. |
void |
initMainTable(XTable mtable)
Initialize the main table runtime environment. |
void |
initMainTable(XTable mtable,
int mcol)
Initialize the main table runtime environment. |
void |
initSubTable(XTable stable)
Initialize the sub table runtime environment. |
void |
notify(inetsoft.util.medium.MediumEvent evt)
Do something when an event is fired. |
protected Object |
parseConditionValue(Element atag)
Parse the condition value. |
boolean |
printKey(PrintWriter writer)
Print the key to identify this content object. |
void |
renameDepended(String oname,
String nname,
Worksheet ws)
Rename the assemblies depended on. |
void |
replaceVariable(VariableTable vart)
Replace all embeded user variables with value from variable table. |
void |
reset()
Reset the cached vaule. |
void |
setCurrentRow(int row)
Set current row. |
boolean |
update(Worksheet ws)
Update the condition. |
protected void |
writeConditionValue(PrintWriter writer,
Object val)
Set the condition value object as xml. |
| Methods inherited from class inetsoft.uql.Condition |
|---|
addValue, clone, containsValue, equals, getDataRefValues, getValue, getValueCount, isCaseSensitive, isConvertingType, isEqualChangeable, isIgnored, isNegatedChangeable, isOperationChangeable, isOptimized, isSessionVariable, isTypeChangeable, isValid, isVariable, isVariable, normalizeValue, parseContents, removeAllValues, setCaseSensitive, setConvertingType, setIgnored, setOptimized, setType, setValue, toString, writeContents |
| 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, setOperation, writeAttributes, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface inetsoft.uql.asset.AssetObject |
|---|
clone |
| Methods inherited from interface inetsoft.util.XMLSerializable |
|---|
parseXML, writeXML |
| Constructor Detail |
|---|
public AssetCondition()
public AssetCondition(String type)
| Method Detail |
|---|
public void notify(inetsoft.util.medium.MediumEvent evt)
notify in interface inetsoft.util.medium.MediumListenerpublic boolean update(Worksheet ws)
ws - the associated worksheet.
public void getDependeds(Set set)
public void renameDepended(String oname,
String nname,
Worksheet ws)
oname - the specified old name.nname - the specified new name.ws - the specified worksheet.public void replaceVariable(VariableTable vart)
replaceVariable in interface XConditionreplaceVariable in class Conditionvart - the specified variable table.public UserVariable[] getAllVariables()
getAllVariables in interface XConditiongetAllVariables in class Condition
protected void writeConditionValue(PrintWriter writer,
Object val)
writeConditionValue in class Condition
protected Object parseConditionValue(Element atag)
throws Exception
parseConditionValue in class ConditionExceptionpublic boolean checkValidity()
public void init()
throws Exception
Exception
public void initMainTable(XTable mtable)
throws Exception
mtable - the specified main table.
Exception
public void initMainTable(XTable mtable,
int mcol)
throws Exception
mtable - the specified main table.mcol - the specified main attribute column index.
Exception
public void initSubTable(XTable stable)
throws Exception
stable - the specified sub table.
Exceptionpublic DataRef getMainAttribute()
public DataRef getSubAttribute()
public List getValues()
getValues in class Conditionpublic void setCurrentRow(int row)
row - the specified row index.public int getCurrentRow()
public SubQueryValue getSubQueryValue()
public boolean printKey(PrintWriter writer)
throws Exception
printKey in interface inetsoft.util.ContentObjectprintKey in class ConditionExceptionpublic boolean evaluate(Object value)
evaluate in interface XConditionevaluate in class Conditionvalue - the value object this condition should be compared with.
true if the value object meets this condition.public void reset()
|
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 | ||||||||