|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.asset.SubQueryValue
public class SubQueryValue
Sub query value contains sub query information in an AssetCondition.
| Constructor Summary | |
|---|---|
SubQueryValue()
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
checkValidity()
Check if the condition is a valid condition. |
boolean |
checkValidity(ColumnSelection scolumns,
ColumnSelection mcolumns)
Check if the condition is a valid condition. |
Object |
clone()
Clone the object. |
boolean |
equals(Object obj)
Check if equqls another object. |
UserVariable[] |
getAllVariables()
Get all variables in the condition value list. |
DataRef |
getAttribute()
Get the attribute. |
int |
getCurrentRow()
Get current row. |
DataRef |
getMainAttribute()
Get the main attribute. |
int |
getOperation()
Get the comparison operation of this condition. |
String |
getQuery()
Get the query. |
DataRef |
getSubAttribute()
Get the sub attribute. |
TableAssembly |
getTable()
Get the sub query table assembly. |
Vector |
getValues()
Get the values of the sub query. |
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. |
boolean |
isCorrelated()
Check if is correlated. |
void |
parseXML(Element elem)
Parse the xml. |
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 |
replaceVariables(VariableTable vars)
Replace all embeded user variables. |
void |
reset()
Reset the cached value. |
void |
setAttribute(DataRef ref)
Set the attribute. |
void |
setCurrentRow(int row)
Set current row. |
void |
setMainAttribute(DataRef mref)
Set the main attribute. |
void |
setOperation(int op)
Set the comparison operation of this condition. |
void |
setQuery(String query)
Set the query. |
void |
setSubAttribute(DataRef sref)
Set the sub attribute. |
String |
toString()
Get the string representation. |
boolean |
update(Worksheet ws)
Update the assembly. |
void |
writeXML(PrintWriter writer)
Write the xml. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubQueryValue()
| Method Detail |
|---|
public void replaceVariables(VariableTable vars)
vars - the specified variable table.public UserVariable[] getAllVariables()
public boolean checkValidity()
public boolean checkValidity(ColumnSelection scolumns,
ColumnSelection mcolumns)
scolumns - the specified sub column selection.mcolumns - the specified main column selection.
public boolean isCorrelated()
public void setAttribute(DataRef ref)
ref - the specified data ref.public DataRef getAttribute()
public void setSubAttribute(DataRef sref)
sref - the specified sub data ref.public DataRef getSubAttribute()
public void setMainAttribute(DataRef mref)
mref - the specified main attribute.public DataRef getMainAttribute()
public void setQuery(String query)
query - the specified query.public String getQuery()
public TableAssembly getTable()
public void renameDepended(String oname,
String nname,
Worksheet ws)
oname - the specified old name.nname - the specified new name.ws - the specified worksheet.public boolean update(Worksheet ws)
ws - the associated worksheet.
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 void setCurrentRow(int row)
row - the specified row index.public int getCurrentRow()
public Vector getValues()
public void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriter - the specified print writer.
public void parseXML(Element elem)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableelem - the specified xml element.
Exceptionpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic Object clone()
clone in interface AssetObjectclone in class Objectpublic void reset()
public int getOperation()
public void setOperation(int op)
op - one of the operation constants defined in this class.
public boolean printKey(PrintWriter writer)
throws Exception
Exception
|
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 | ||||||||