|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.asset.AbstractAssembly
inetsoft.uql.asset.AbstractWSAssembly
inetsoft.uql.asset.DefaultConditionAssembly
public class DefaultConditionAssembly
Default condition assembly.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.asset.AbstractWSAssembly |
|---|
info, ws |
| Fields inherited from interface inetsoft.uql.asset.AttachedAssembly |
|---|
COLUMN_ATTACHED, DATA_TYPE_ATTACHED, NONE_ATTACHED, SOURCE_ATTACHED |
| Fields inherited from interface inetsoft.uql.asset.Assembly |
|---|
CUBE_VS, DETAIL, EMBEDDED, FIELD, SELECTION, TABLE_VS |
| Constructor Summary | |
|---|---|
DefaultConditionAssembly()
Constructor. |
|
DefaultConditionAssembly(Worksheet ws,
String name)
Constructor. |
|
| Method Summary | |
|---|---|
void |
checkValidity()
Check if the assembly is valid. |
Object |
clone()
Clone the object. |
protected inetsoft.uql.asset.internal.WSAssemblyInfo |
createInfo()
Create assembly info. |
UserVariable[] |
getAllVariables()
Get all variables in the condition value list. |
int |
getAssemblyType()
Get the type. |
DataRef |
getAttachedAttribute()
Get the attached attribute. |
String |
getAttachedDataType()
Get the attached data type. |
SourceInfo |
getAttachedSource()
Get the attached source. |
int |
getAttachedType()
Get the attached type. |
ConditionItem |
getConditionItem(int index)
Get the ConditionItem at the specified index. |
ConditionList |
getConditionList()
Get the condition. |
int |
getConditionSize()
Get the size. |
void |
getDependeds(Set set)
Get the assemblies depended on. |
HierarchyItem |
getItem(int index)
Get the HierarchyItem at the specified index. |
JunctionOperator |
getJunctionOperator(int index)
Get the JunctionOperator at the specified index. |
Dimension |
getMinimumSize()
Get the minimum size. |
void |
isAttachedValid()
Check if the attached assembly is valid. |
boolean |
isConditionItem(int index)
Check if the item at the specified index is a ConditionItem. |
boolean |
isEmpty()
Check if this list is empty. |
boolean |
isJunctionOperator(int index)
Check if the item at the specified index is a JunctionOperator. |
protected void |
parseContents(Element elem)
Parse contents. |
void |
renameDepended(String oname,
String nname)
Rename the assemblies depended on. |
void |
replaceVariables(VariableTable vars)
Replace all embeded user variables. |
void |
setAttachedAttribute(DataRef ref)
Set the attached attribute. |
void |
setAttachedDataType(String dtype)
Set the attached data type. |
void |
setAttachedSource(SourceInfo info)
Set the attached source. |
void |
setAttachedType(int type)
Set the attached type. |
void |
setConditionList(ConditionList conditions)
Set the condition list. |
void |
setWorksheet(Worksheet ws)
Set the worksheet. |
boolean |
update()
Update the assembly. |
protected void |
writeContents(PrintWriter writer)
Write contents. |
| Methods inherited from class inetsoft.uql.asset.AbstractWSAssembly |
|---|
checkDependency, copyAssembly, createWSAssembly, getClassName, getDescription, getInfo, getName, getPosition, getSheet, getSize, getWorksheet, getWSAssemblyInfo, isComposed, isCondition, isDateCondition, isIconized, isNamedGroup, isOuter, isTable, isVariable, reset, setDescription, setIconized, setName, setOuter, setPosition, setSize, 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, isComposed, isCondition, isDateCondition, isIconized, isNamedGroup, isOuter, isTable, isVariable, reset, 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, setSize |
| Methods inherited from interface inetsoft.util.XMLSerializable |
|---|
parseXML, writeXML |
| Constructor Detail |
|---|
public DefaultConditionAssembly()
public DefaultConditionAssembly(Worksheet ws,
String name)
| Method Detail |
|---|
protected inetsoft.uql.asset.internal.WSAssemblyInfo createInfo()
createInfo in class AbstractWSAssemblypublic int getAssemblyType()
getAssemblyType in interface Assemblypublic Dimension getMinimumSize()
getMinimumSize in interface Assembly
public void checkValidity()
throws Exception
checkValidity in interface WSAssemblycheckValidity in class AbstractWSAssemblyExceptionpublic ConditionList getConditionList()
getConditionList in interface ConditionAssemblygetConditionList in interface ConditionListWrapperpublic void setConditionList(ConditionList conditions)
setConditionList in interface ConditionAssemblyconditions - the specified condition list.public int getConditionSize()
getConditionSize in interface ConditionListWrapperpublic boolean isEmpty()
isEmpty in interface ConditionListWrapperpublic void setWorksheet(Worksheet ws)
setWorksheet in interface WSAssemblysetWorksheet in class AbstractWSAssemblyws - the specified worksheet.public HierarchyItem getItem(int index)
getItem in interface ConditionListWrapperindex - the specified index.
public boolean isConditionItem(int index)
isConditionItem in interface ConditionListWrapperindex - the specified index.
public boolean isJunctionOperator(int index)
isJunctionOperator in interface ConditionListWrapperindex - the specified index.
public ConditionItem getConditionItem(int index)
getConditionItem in interface ConditionListWrapperindex - the specified index.
public JunctionOperator getJunctionOperator(int index)
getJunctionOperator in interface ConditionListWrapperindex - the specified index.
public boolean update()
update in interface WSAssemblyupdate in class AbstractWSAssemblypublic void replaceVariables(VariableTable vars)
replaceVariables in interface WSAssemblyreplaceVariables in interface ConditionListWrappervars - the specified variable table.public UserVariable[] getAllVariables()
getAllVariables in interface inetsoft.uql.asset.internal.VariableProvidergetAllVariables in interface ConditionListWrapperpublic int getAttachedType()
getAttachedType in interface AttachedAssemblypublic void setAttachedType(int type)
setAttachedType in interface AttachedAssemblytype - the specified type.public SourceInfo getAttachedSource()
getAttachedSource in interface AttachedAssemblypublic void setAttachedSource(SourceInfo info)
setAttachedSource in interface AttachedAssemblythe - specified source.public DataRef getAttachedAttribute()
getAttachedAttribute in interface AttachedAssemblypublic void setAttachedAttribute(DataRef ref)
setAttachedAttribute in interface AttachedAssemblyref - the specified attribute.public String getAttachedDataType()
getAttachedDataType in interface AttachedAssemblypublic void setAttachedDataType(String dtype)
setAttachedDataType in interface AttachedAssembly
public void isAttachedValid()
throws Exception
isAttachedValid in interface AttachedAssemblyExceptionpublic void getDependeds(Set set)
getDependeds in interface Assemblyset - the set stores the assemblies depended on.
public void renameDepended(String oname,
String nname)
renameDepended in interface Assemblyoname - the specified old name.nname - the specified new name.protected void writeContents(PrintWriter writer)
writeContents in class AbstractAssemblywriter - the specified writer.
protected void parseContents(Element elem)
throws Exception
parseContents in class AbstractAssemblyelem - the specified xml element.
Exceptionpublic Object clone()
clone in interface Assemblyclone in interface AssetObjectclone in interface AttachedAssemblyclone in interface ConditionListWrapperclone in class AbstractWSAssembly
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||