Style Intelligence v12.0

inetsoft.uql.asset
Class JoinTableAssembly

java.lang.Object
  extended by inetsoft.uql.asset.AbstractAssembly
      extended by inetsoft.uql.asset.AbstractWSAssembly
          extended by inetsoft.uql.asset.AbstractTableAssembly
              extended by inetsoft.uql.asset.ComposedTableAssembly
                  extended by inetsoft.uql.asset.CompositeTableAssembly
                      extended by 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

Field Summary
 
Fields inherited from class inetsoft.uql.asset.CompositeTableAssembly
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
JoinTableAssembly()
          Constructor.
JoinTableAssembly(Worksheet ws, String name, TableAssembly[] tables, TableAssemblyOperator[] operators)
          Constructor.
 
Method Summary
 Dimension getMinimumSize(boolean embedded)
          Get the minimum size.
 boolean removeOperator(String ltable, String rtable)
          Remove the operator.
 boolean requiresColumn()
          Check if requires column.
 void setColumnSelection(ColumnSelection selection, boolean pub)
          Set the column selection.
 void setOperator(String ltable, String rtable, TableAssemblyOperator operator)
          Set the operator at an index.
 boolean setTableAssemblies(TableAssembly[] tables)
          Set all the table assemblies.
 
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 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
 

Constructor Detail

JoinTableAssembly

public JoinTableAssembly()
Constructor.


JoinTableAssembly

public JoinTableAssembly(Worksheet ws,
                         String name,
                         TableAssembly[] tables,
                         TableAssemblyOperator[] operators)
Constructor.

Method Detail

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.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.