|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.schema.XVariable
inetsoft.uql.schema.UserVariable
inetsoft.uql.asset.AssetVariable
public class AssetVariable
Asset variable represents a user defined variable.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.schema.UserVariable |
|---|
CHECKBOXES, COMBOBOX, DATE_COMBOBOX, LIST, NONE, RADIO_BUTTONS |
| Constructor Summary | |
|---|---|
AssetVariable()
Constructor. |
|
AssetVariable(String name)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Check if equals another object. |
int |
getDisplayStyle()
Get the display style. |
DataRef |
getLabelAttribute()
Get the label attribute. |
TableAssembly |
getTable()
Get the table assembly. |
String |
getTableName()
Get the table name. |
DataRef |
getValueAttribute()
Get the value attribute. |
boolean |
isPromptWithDValue()
Check is the value of the variable needs to be enter by users. |
protected void |
parseAttributes(Element elem)
Parse attributes. |
protected void |
parseContents(Element elem)
Parse contents. |
void |
setDisplayStyle(int style)
Set the display style. |
void |
setLabelAttribute(DataRef lattr)
Set the label attribute. |
void |
setPromptWithDValue(boolean promptWithDValue)
Set whether to prompt users for the variable if contains default value. |
void |
setTableName(String table)
Set the table name. |
void |
setValueAttribute(DataRef vattr)
Set the value attribute. |
String |
toString()
Get the string representation. |
boolean |
update(Worksheet ws)
Update the assembly. |
protected void |
writeAttributes(PrintWriter writer)
Write attributes. |
protected void |
writeContents(PrintWriter writer)
Write contents. |
| Methods inherited from class inetsoft.uql.schema.UserVariable |
|---|
clone, evaluate, getAlias, getChoiceQuery, getChoices, getToolTip, getTypedValues, getTypeNode, getValueNode, getValues, hashCode, isCustomization, isEmbedded, isHidden, isLocalQuery, isLocalWorksheet, isMultipleSelection, isPrompt, isSortValue, isUsedInOneOf, parseXML, setAlias, setChoiceQuery, setChoices, setCustomization, setEmbedded, setHidden, setLocalQuery, setLocalWorksheet, setMultipleSelection, setPrompt, setSortValue, setToolTip, setTypeNode, setUsedInOneOf, setValueNode, setValues, writeXML |
| Methods inherited from class inetsoft.uql.schema.XVariable |
|---|
getName, getSource, parse, setName, setSource |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssetVariable()
public AssetVariable(String name)
| Method Detail |
|---|
public int getDisplayStyle()
getDisplayStyle in class UserVariablepublic void setDisplayStyle(int style)
style - the specified display style.public String getTableName()
public void setTableName(String table)
table - the specified table assembly.public TableAssembly getTable()
public DataRef getValueAttribute()
public void setValueAttribute(DataRef vattr)
vattr - the specified value attribute.public DataRef getLabelAttribute()
public void setLabelAttribute(DataRef lattr)
lattr - the specified label attribute.public void setPromptWithDValue(boolean promptWithDValue)
promptWithDValue - true if the variable should be entered by users at
runtime with default value.public boolean isPromptWithDValue()
public boolean update(Worksheet ws)
ws - the associated worksheet.
protected void writeContents(PrintWriter writer)
writeContents in class UserVariablewriter - the specified print writer.
protected void parseContents(Element elem)
throws Exception
parseContents in class UserVariableelem - the specified xml element.
Exceptionprotected void writeAttributes(PrintWriter writer)
writeAttributes in class UserVariablewriter - the specified print writer.
protected void parseAttributes(Element elem)
throws Exception
parseAttributes in class UserVariableelem - the specified xml element.
Exceptionpublic boolean equals(Object obj)
equals in class UserVariablepublic String toString()
toString in class UserVariable
|
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 | ||||||||