Style Intelligence v12.0

inetsoft.uql.asset
Class UnpivotTableAssembly

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.UnpivotTableAssembly
All Implemented Interfaces:
Assembly, AssetObject, inetsoft.uql.asset.internal.VariableProvider, TableAssembly, WSAssembly, inetsoft.util.ContentObject, inetsoft.util.XMLSerializable, Serializable, Cloneable

public class UnpivotTableAssembly
extends ComposedTableAssembly

Un-pivot table assembly, un-pivot a table assembly.

See Also:
Serialized Form

Field Summary
 
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
UnpivotTableAssembly()
          Constructor.
UnpivotTableAssembly(Worksheet ws, String name, TableAssembly assembly)
          Constructor.
 
Method Summary
protected  inetsoft.uql.asset.internal.WSAssemblyInfo createInfo()
          Create assembly info.
 void getDependeds(Set set)
          Get the assemblies depended on.
 int getHeaderColumns()
          Get header columns.
protected  TableAssembly[] getTableAssemblies()
          Get all the table assemblies.
 TableAssembly getTableAssembly()
          Get the table assembly.
 int getTableAssemblyCount()
          Get the table assembly count.
 String getTableAssemblyName()
          Get the table assembly name.
 String[] getTableNames()
          Get the table names.
 boolean isPlain()
          Check if is a plain table.
protected  void parseContents(Element elem)
          Parse contents.
 void renameDepended(String oname, String nname)
          Rename the assemblies depended on.
 void setHeaderColumns(int hcol)
          Set header columns.
 boolean setTableAssemblies(TableAssembly[] tables)
          Set all the table assemblies.
protected  void writeContents(PrintWriter writer)
          Write contents.
 
Methods inherited from class inetsoft.uql.asset.ComposedTableAssembly
checkValidity, clearCache, clearProperty, clone, equalsContent, getAllVariables, getAllVariables, getComposedTableInfo, getComposedTableInfo, getContentCode, getSource, getTableAssemblies, getTableAssembly, getTableInfo, isComposed, isHierarchical, isIconized, print, printKey, renameAggregateInfo, renameColumnSelection, renameConditionListWrapper, renameSortInfo, replaceVariables, setHierarchical, setIconized, setWorksheet, update, updateTable
 
Methods inherited from class inetsoft.uql.asset.AbstractTableAssembly
getAggregateInfo, getAssemblyType, getColumnSelection, getColumnSelection, getExpressionWidth, getLastModified, getListener, getMaxDisplayRows, getMaxRows, getMinimumSize, 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, isRuntime, isSQLMergeable, isVisibleTable, mergeVariables, printHead, printProperties, reset, resetColumnSelection, setAggregate, setAggregateInfo, setColumnPropertyName, setColumnSelection, 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

UnpivotTableAssembly

public UnpivotTableAssembly()
Constructor.


UnpivotTableAssembly

public UnpivotTableAssembly(Worksheet ws,
                            String name,
                            TableAssembly assembly)
Constructor.

Method Detail

createInfo

protected inetsoft.uql.asset.internal.WSAssemblyInfo createInfo()
Create assembly info.

Overrides:
createInfo in class ComposedTableAssembly
Returns:
the associated assembly info.

getTableAssembly

public TableAssembly getTableAssembly()
Get the table assembly.

Returns:
the table assembly.

getTableAssemblyCount

public int getTableAssemblyCount()
Get the table assembly count.

Specified by:
getTableAssemblyCount in class ComposedTableAssembly
Returns:
the table assembly count.

getTableAssemblyName

public String getTableAssemblyName()
Get the table assembly name.

Returns:
the table assembly name.

getTableNames

public String[] getTableNames()
Get the table names.

Specified by:
getTableNames in class ComposedTableAssembly

getTableAssemblies

protected TableAssembly[] getTableAssemblies()
Get all the table assemblies.

Specified by:
getTableAssemblies in class ComposedTableAssembly
Returns:
all the table assemblies of the composite table assembly.

setTableAssemblies

public boolean setTableAssemblies(TableAssembly[] tables)
Set all the table assemblies.

Specified by:
setTableAssemblies in class ComposedTableAssembly
Parameters:
tables - the specified table assemblies.
Returns:
false if the change is rejected.

renameDepended

public void renameDepended(String oname,
                           String nname)
Rename the assemblies depended on.

Specified by:
renameDepended in interface Assembly
Overrides:
renameDepended in class ComposedTableAssembly
Parameters:
oname - the specified old name.
nname - the specified new name.

isPlain

public boolean isPlain()
Check if is a plain table.

Specified by:
isPlain in interface TableAssembly
Overrides:
isPlain in class AbstractTableAssembly
Returns:
true if yes, false otherwise.

setHeaderColumns

public void setHeaderColumns(int hcol)
Set header columns.

Parameters:
hcol - the specified header columns count.

getHeaderColumns

public int getHeaderColumns()
Get header columns.

Returns:
header columns count.

writeContents

protected void writeContents(PrintWriter writer)
Write contents.

Overrides:
writeContents in class AbstractTableAssembly
Parameters:
writer - the specified writer.

parseContents

protected void parseContents(Element elem)
                      throws Exception
Parse contents.

Overrides:
parseContents in class AbstractTableAssembly
Parameters:
elem - the specified xml element.
Throws:
Exception

getDependeds

public void getDependeds(Set set)
Get the assemblies depended on.

Specified by:
getDependeds in interface Assembly
Overrides:
getDependeds in class AbstractTableAssembly
Parameters:
set - the set stores the assemblies depended on.

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