Style Intelligence v12.0

inetsoft.uql.asset
Class DataTableAssembly

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

public class DataTableAssembly
extends AbstractTableAssembly

Data table assembly, the TableAssembly contains data directly.

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
DataTableAssembly()
          Constructor.
DataTableAssembly(Worksheet ws, String name)
          Constructor.
 
Method Summary
 boolean equalsContent(Object obj)
          Check if equals another object in content.
 int getContentCode()
          Get the hash code only considering content.
 XTable getData()
          Get the data of this table assembly.
 String getSource()
          Get the source of the table assembly.
 boolean printKey(PrintWriter writer)
          Print the key to identify this content object.
 void setData(XTable data)
          Set the data to this table assembly.
 void updateTable(TableAssembly table)
          update properties of table.
 
Methods inherited from class inetsoft.uql.asset.AbstractTableAssembly
clearCache, clearProperty, clone, createInfo, getAggregateInfo, getAllVariables, getAssemblyType, getColumnSelection, getColumnSelection, getDependeds, 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, getTableInfo, isAggregate, isColumnUsed, isCrosstab, isDistinct, isLiveData, isMVForceAppendUpdates, isPlain, isRuntime, isSQLMergeable, isVisibleTable, mergeVariables, parseContents, print, printHead, printProperties, renameAggregateInfo, renameConditionListWrapper, renameDepended, replaceVariables, 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, setWorksheet, update, writeContents, writeData
 
Methods inherited from class inetsoft.uql.asset.AbstractWSAssembly
checkDependency, checkValidity, copyAssembly, createWSAssembly, getClassName, getDescription, getInfo, getName, getPosition, getSheet, getSize, getWorksheet, getWSAssemblyInfo, isComposed, 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
checkValidity, copyAssembly, getDescription, getWorksheet, getWSAssemblyInfo, isComposed, 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

DataTableAssembly

public DataTableAssembly()
Constructor.


DataTableAssembly

public DataTableAssembly(Worksheet ws,
                         String name)
Constructor.

Method Detail

getData

public XTable getData()
Get the data of this table assembly.

Returns:
the data of this table assembly.

setData

public void setData(XTable data)
Set the data to this table assembly.

Parameters:
data - the specified data.

getSource

public String getSource()
Get the source of the table assembly.

Returns:
the source of the table assembly.

getContentCode

public int getContentCode()
Get the hash code only considering content.

Specified by:
getContentCode in interface TableAssembly
Overrides:
getContentCode in class AbstractTableAssembly
Returns:
the hash code only considering content.

printKey

public boolean printKey(PrintWriter writer)
                 throws Exception
Print the key to identify this content object. If the keys of two content objects are equal, the content objects are equal too.

Specified by:
printKey in interface inetsoft.util.ContentObject
Overrides:
printKey in class AbstractTableAssembly
Throws:
Exception

equalsContent

public boolean equalsContent(Object obj)
Check if equals another object in content.

Specified by:
equalsContent in interface TableAssembly
Specified by:
equalsContent in interface inetsoft.util.ContentObject
Overrides:
equalsContent in class AbstractTableAssembly
Parameters:
obj - the specified object.
Returns:
true if equals the object in content, false otherwise.

updateTable

public void updateTable(TableAssembly table)
update properties of table.

Specified by:
updateTable in interface TableAssembly
Overrides:
updateTable in class AbstractTableAssembly

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