|
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.AbstractAssembly
inetsoft.uql.asset.AbstractWSAssembly
inetsoft.uql.asset.AbstractTableAssembly
inetsoft.uql.asset.ComposedTableAssembly
inetsoft.uql.asset.CompositeTableAssembly
public abstract class CompositeTableAssembly
Composite table assembly, contains one or more sub table assemblies.
| Field Summary | |
|---|---|
protected String[] |
tnames
|
| Fields inherited from class inetsoft.uql.asset.AbstractTableAssembly |
|---|
ginfo, postconds, preconds, prop, topns |
| Fields inherited from class inetsoft.uql.asset.AbstractWSAssembly |
|---|
info, ws |
| Fields inherited from interface inetsoft.uql.asset.Assembly |
|---|
CUBE_VS, DETAIL, EMBEDDED, FIELD, SELECTION, TABLE_VS |
| Constructor Summary | |
|---|---|
CompositeTableAssembly()
Constructor. |
|
CompositeTableAssembly(Worksheet ws,
String name,
TableAssembly[] tables,
TableAssemblyOperator[] operators)
Constructor. |
|
| Method Summary | |
|---|---|
void |
checkValidity()
Check if the composite table assembly is valid. |
Object |
clone()
Clone the object. |
protected inetsoft.uql.asset.internal.WSAssemblyInfo |
createInfo()
Create assembly info. |
boolean |
equalsContent(Object obj)
Check if equals another object in content. |
protected inetsoft.uql.asset.internal.CompositeTableAssemblyInfo |
getCompositeTableInfo()
Get the composite table assembly info. |
protected inetsoft.uql.asset.internal.CompositeTableAssemblyInfo |
getCompositeTableInfo(boolean tables)
Get the composite table assembly info. |
int |
getContentCode()
Get the hash code only considering content. |
void |
getDependeds(Set set)
Get the assemblies depended on. |
TableAssemblyOperator |
getOperator(int index)
Get the operator at an index. |
TableAssemblyOperator |
getOperator(String table)
Get the operator of a table. |
TableAssemblyOperator |
getOperator(String ltable,
String rtable)
Get the operator of two tables. |
int |
getOperatorCount()
Get the operator count. |
Enumeration |
getOperators()
Get all the operators in the table. |
Enumeration |
getOperatorTables()
Get the table pairs with operators defined. |
TableAssembly[] |
getTableAssemblies()
Get all the table assemblies. |
int |
getTableAssemblyCount()
Get the table assembly count. |
String[] |
getTableNames()
Get the table names. |
int |
indexOfTableAssembly(TableAssembly table)
Get the index of a table assembly. |
boolean |
isColumnUsed(TableAssembly table,
ColumnRef column)
Check if the column is a join column. |
protected void |
parseContents(Element elem)
Parse contents. |
void |
print(int level,
StringBuffer sb)
Print the table information. |
boolean |
printKey(PrintWriter writer)
Print the key to identify this content object. |
boolean |
removeOperator(String ltable,
String rtable)
Remove the operator. |
boolean |
removeTable(String subtable)
Remove a sub-table. |
void |
renameDepended(String oname,
String nname)
Rename the assemblies depended on. |
void |
setOperator(int index,
TableAssemblyOperator operator)
Set the operator at an index. |
void |
setOperator(String ltable,
String rtable,
TableAssemblyOperator operator)
Set the operator at an index. |
void |
setOperators(TableAssemblyOperator[] operators)
Set the operator at an index. |
boolean |
setTableAssemblies(TableAssembly[] tables)
Set all the table assemblies. |
void |
updateTable(TableAssembly table)
update properties of table. |
protected void |
writeContents(PrintWriter writer)
Write contents. |
| Methods inherited from class inetsoft.uql.asset.ComposedTableAssembly |
|---|
clearCache, clearProperty, getAllVariables, getAllVariables, getComposedTableInfo, getComposedTableInfo, getSource, getTableAssemblies, getTableAssembly, getTableInfo, isComposed, isHierarchical, isIconized, renameAggregateInfo, renameColumnSelection, renameConditionListWrapper, renameSortInfo, replaceVariables, setHierarchical, setIconized, setWorksheet, update |
| Methods inherited from class inetsoft.uql.asset.AbstractWSAssembly |
|---|
checkDependency, copyAssembly, createWSAssembly, getClassName, getDescription, getInfo, getName, getPosition, getSheet, getSize, getWorksheet, getWSAssemblyInfo, isCondition, isDateCondition, isIconized, isNamedGroup, isOuter, isTable, isVariable, setDescription, setIconized, setName, setOuter, setPosition, setVisible |
| Methods inherited from class inetsoft.uql.asset.AbstractAssembly |
|---|
addr, equals, getAbsoluteName, getAssemblyEntry, getBounds, hashCode, isEditable, isVisible, parseAttributes, parseXML, setBounds, toString, writeAttributes, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface inetsoft.uql.asset.WSAssembly |
|---|
copyAssembly, getDescription, getWorksheet, getWSAssemblyInfo, isCondition, isDateCondition, isIconized, isNamedGroup, isOuter, isTable, isVariable, setDescription, setIconized, setOuter, setVisible |
| Methods inherited from interface inetsoft.uql.asset.Assembly |
|---|
addr, checkDependency, getAbsoluteName, getAssemblyEntry, getBounds, getInfo, getName, getPosition, getSheet, getSize, isEditable, isVisible, setBounds, setPosition |
| Methods inherited from interface inetsoft.util.XMLSerializable |
|---|
parseXML, writeXML |
| Field Detail |
|---|
protected String[] tnames
| Constructor Detail |
|---|
public CompositeTableAssembly()
public CompositeTableAssembly(Worksheet ws,
String name,
TableAssembly[] tables,
TableAssemblyOperator[] operators)
| Method Detail |
|---|
public String[] getTableNames()
getTableNames in class ComposedTableAssemblyprotected inetsoft.uql.asset.internal.WSAssemblyInfo createInfo()
createInfo in class ComposedTableAssemblyprotected inetsoft.uql.asset.internal.CompositeTableAssemblyInfo getCompositeTableInfo()
protected inetsoft.uql.asset.internal.CompositeTableAssemblyInfo getCompositeTableInfo(boolean tables)
tables - true to include sub tables infos, false
otherwise.
public int indexOfTableAssembly(TableAssembly table)
table - the specified table assembly.
public TableAssembly[] getTableAssemblies()
getTableAssemblies in class ComposedTableAssemblypublic int getTableAssemblyCount()
getTableAssemblyCount in class ComposedTableAssembly
public boolean isColumnUsed(TableAssembly table,
ColumnRef column)
table - the specified table.column - the specified column.
public boolean setTableAssemblies(TableAssembly[] tables)
setTableAssemblies in class ComposedTableAssemblytables - the specified table assemblies.
public void checkValidity()
throws Exception
checkValidity in interface WSAssemblycheckValidity in class ComposedTableAssemblyExceptionpublic int getOperatorCount()
public TableAssemblyOperator getOperator(int index)
index - the specified index;public void setOperators(TableAssemblyOperator[] operators)
operators - the specified operator.
public void setOperator(int index,
TableAssemblyOperator operator)
index - the specified index.operator - the specified operator.public Enumeration getOperators()
public Enumeration getOperatorTables()
public TableAssemblyOperator getOperator(String ltable,
String rtable)
ltable - the specified left table.rtable - the specified right table.public TableAssemblyOperator getOperator(String table)
table - the specified table.
public void setOperator(String ltable,
String rtable,
TableAssemblyOperator operator)
ltable - the specified left table.rtable - the specified right table.operator - the specified operator.
public boolean removeOperator(String ltable,
String rtable)
ltable - the specified left table.rtable - the specified right table.
public boolean removeTable(String subtable)
subtable - the specified sub-table.
public void getDependeds(Set set)
getDependeds in interface AssemblygetDependeds in class AbstractTableAssemblyset - the set stores the assemblies depended on.
public void renameDepended(String oname,
String nname)
renameDepended in interface AssemblyrenameDepended in class ComposedTableAssemblyoname - the specified old name.nname - the specified new name.protected void writeContents(PrintWriter writer)
writeContents in class AbstractTableAssemblywriter - the specified writer.
protected void parseContents(Element elem)
throws Exception
parseContents in class AbstractTableAssemblyelem - the specified xml element.
Exceptionpublic Object clone()
clone in interface Assemblyclone in interface AssetObjectclone in class ComposedTableAssemblypublic int getContentCode()
getContentCode in interface TableAssemblygetContentCode in class ComposedTableAssembly
public boolean printKey(PrintWriter writer)
throws Exception
printKey in interface inetsoft.util.ContentObjectprintKey in class ComposedTableAssemblyExceptionpublic boolean equalsContent(Object obj)
equalsContent in interface TableAssemblyequalsContent in interface inetsoft.util.ContentObjectequalsContent in class ComposedTableAssemblyobj - the specified object.
public void print(int level,
StringBuffer sb)
print in interface TableAssemblyprint in class ComposedTableAssemblypublic void updateTable(TableAssembly table)
updateTable in interface TableAssemblyupdateTable in class ComposedTableAssembly
|
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 | ||||||||