Style Intelligence v12.0

inetsoft.uql.asset
Class EmbeddedTableAssembly

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

public class EmbeddedTableAssembly
extends AbstractTableAssembly

Embedded table assembly, contains an embedded table.

See Also:
Serialized Form

Field Summary
protected  inetsoft.uql.util.XEmbeddedTable data
           
protected  inetsoft.uql.util.XEmbeddedTable data2
           
protected  boolean shareData
           
 
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
EmbeddedTableAssembly()
          Constructor.
EmbeddedTableAssembly(Worksheet ws, String name)
          Constructor.
 
Method Summary
 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.
 int getContentCode()
          Get the hash code only considering content.
 inetsoft.uql.util.XEmbeddedTable getEmbeddedData()
          Get the embedded data.
 inetsoft.uql.util.XEmbeddedTable getOriginalEmbeddedData()
          Get the original embedded data.
 String getSource()
          Get the source of the table assembly.
protected  void parseContents(Element elem)
          Parse contents.
protected  void parseEmbeddedData(Element elem)
          Parse embedded data.
 boolean printKey(PrintWriter writer)
          Print the key to identify this content object.
 void setEmbeddedData(inetsoft.uql.util.XEmbeddedTable data)
          Set the embedded data.
 void updateTable(TableAssembly table)
          update properties of table.
protected  void writeContents(PrintWriter writer)
          Write contents.
protected  void writeEmbeddedData(PrintWriter writer)
          Write embedded data.
 
Methods inherited from class inetsoft.uql.asset.AbstractTableAssembly
clearCache, clearProperty, 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, 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, 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
 

Field Detail

data

protected inetsoft.uql.util.XEmbeddedTable data

data2

protected transient inetsoft.uql.util.XEmbeddedTable data2

shareData

protected boolean shareData
Constructor Detail

EmbeddedTableAssembly

public EmbeddedTableAssembly()
Constructor.


EmbeddedTableAssembly

public EmbeddedTableAssembly(Worksheet ws,
                             String name)
Constructor.

Method Detail

createInfo

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

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

getEmbeddedData

public inetsoft.uql.util.XEmbeddedTable getEmbeddedData()
Get the embedded data.

Returns:
the embedded data.

setEmbeddedData

public void setEmbeddedData(inetsoft.uql.util.XEmbeddedTable data)
Set the embedded data.

Parameters:
data - the specified embedded table.

getOriginalEmbeddedData

public inetsoft.uql.util.XEmbeddedTable getOriginalEmbeddedData()
Get the original embedded data.

Returns:
the original embedded data.

getSource

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

Returns:
the source of the table assembly.

writeContents

protected void writeContents(PrintWriter writer)
Write contents.

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

writeEmbeddedData

protected void writeEmbeddedData(PrintWriter writer)
Write embedded data.

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

parseEmbeddedData

protected void parseEmbeddedData(Element elem)
                          throws Exception
Parse embedded data.

Parameters:
elem - the specified xml element.
Throws:
Exception

clone

public Object clone()
Clone the object.

Specified by:
clone in interface Assembly
Specified by:
clone in interface AssetObject
Overrides:
clone in class AbstractTableAssembly
Returns:
the cloned object.

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.