inetsoft.uql.asset
Class JoinTableAssembly
java.lang.Object
inetsoft.uql.asset.AbstractAssembly
inetsoft.uql.asset.AbstractWSAssembly
inetsoft.uql.asset.AbstractTableAssembly
inetsoft.uql.asset.ComposedTableAssembly
inetsoft.uql.asset.CompositeTableAssembly
inetsoft.uql.asset.JoinTableAssembly
- All Implemented Interfaces:
- Assembly, AssetObject, inetsoft.uql.asset.internal.VariableProvider, TableAssembly, WSAssembly, inetsoft.util.ContentObject, inetsoft.util.XMLSerializable, Serializable, Cloneable
public class JoinTableAssembly
- extends CompositeTableAssembly
Join table assembly, contains joined table assemblies.
- See Also:
- Serialized Form
| Methods inherited from class inetsoft.uql.asset.CompositeTableAssembly |
checkValidity, clone, createInfo, equalsContent, getCompositeTableInfo, getCompositeTableInfo, getContentCode, getDependeds, getOperator, getOperator, getOperator, getOperatorCount, getOperators, getOperatorTables, getTableAssemblies, getTableAssemblyCount, getTableNames, indexOfTableAssembly, isColumnUsed, parseContents, print, printKey, removeTable, renameDepended, setOperator, setOperators, updateTable, writeContents |
| 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.AbstractTableAssembly |
getAggregateInfo, getAssemblyType, getColumnSelection, getColumnSelection, getExpressionWidth, getLastModified, getListener, getMaxDisplayRows, getMaxRows, getMinimumSize, getMVConditionList, getMVDeleteConditionList, getMVDeletePostConditionList, getMVDeletePreConditionList, getMVUpdateConditionList, getMVUpdatePostConditionList, getMVUpdatePreConditionList, getPostConditionList, getPostRuntimeConditionList, getPreConditionList, getPreRuntimeConditionList, getProperties, getProperty, getRankingConditionList, getRankingRuntimeConditionList, getRuntimeMV, getSortInfo, getSourceInfo, getTableInfo, isAggregate, isColumnUsed, isCrosstab, isDistinct, isLiveData, isMVForceAppendUpdates, isPlain, isRuntime, isSQLMergeable, isVisibleTable, mergeVariables, printHead, printProperties, reset, resetColumnSelection, setAggregate, setAggregateInfo, setColumnPropertyName, setColumnSelection, setConditionListWrapperWorksheet, setDistinct, setLastModified, setListener, setLiveData, setMaxDisplayRows, setMaxRows, setMVDeletePostConditionList, setMVDeletePreConditionList, setMVForceAppendUpdates, setMVUpdatePostConditionList, setMVUpdatePreConditionList, setPostConditionList, setPostRuntimeConditionList, setPreConditionList, setPreRuntimeConditionList, setProperty, setPublicColumnSelection, setRankingConditionList, setRankingRuntimeConditionList, setRuntime, setRuntimeMV, setSize, setSortInfo, setSourceInfo, setSQLMergeable, setVisibleTable, writeData |
| 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 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 |
JoinTableAssembly
public JoinTableAssembly()
- Constructor.
JoinTableAssembly
public JoinTableAssembly(Worksheet ws,
String name,
TableAssembly[] tables,
TableAssemblyOperator[] operators)
- Constructor.
setOperator
public void setOperator(String ltable,
String rtable,
TableAssemblyOperator operator)
- Set the operator at an index.
- Overrides:
setOperator in class CompositeTableAssembly
- Parameters:
ltable - the specified left table.rtable - the specified right table.operator - the specified operator.
removeOperator
public boolean removeOperator(String ltable,
String rtable)
- Remove the operator.
- Overrides:
removeOperator in class CompositeTableAssembly
- Parameters:
ltable - the specified left table.rtable - the specified right table.
- Returns:
- true if this table is no longer valid and should be removed.
setTableAssemblies
public boolean setTableAssemblies(TableAssembly[] tables)
- Set all the table assemblies.
- Overrides:
setTableAssemblies in class CompositeTableAssembly
- Parameters:
tables - the specified table assemblies.
- Returns:
- false if the change is rejected.
getMinimumSize
public Dimension getMinimumSize(boolean embedded)
- Get the minimum size.
- Specified by:
getMinimumSize in interface TableAssembly- Overrides:
getMinimumSize in class AbstractTableAssembly
- Parameters:
embedded - true to embed the table assembly.
- Returns:
- the minimum size of the assembly.
requiresColumn
public boolean requiresColumn()
- Check if requires column.
- Returns:
- true if yes, false otherwise.
setColumnSelection
public void setColumnSelection(ColumnSelection selection,
boolean pub)
- Set the column selection.
- Specified by:
setColumnSelection in interface TableAssembly- Overrides:
setColumnSelection in class AbstractTableAssembly
- Parameters:
selection - the specified selection.pub - true indicates the public column selection,
false otherwise.