Package com.microstrategy.web.objects
Class WebScriptVariable
- java.lang.Object
-
- com.microstrategy.web.objects.WebScriptVariable
-
public class WebScriptVariable extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WebScriptVariable()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildXMLBody(WebXMLBuilder builder)
build the xml body for script variablestatic WebScriptVariable
createWebScriptVariable()
create the WebScriptVariable instancestatic WebScriptVariable
createWebScriptVariable(org.xml.sax.Attributes attrs)
restore the script variable object from the xml attrsjava.lang.String
getDefaultValue()
get the DefaultValue of the variablejava.lang.String
getDesc()
get the desc of the variablejava.lang.String
getId()
get the id of the variablejava.lang.String
getName()
get the name of the variablejava.lang.String
getRefId()
get the refId of the variableint
getRefType()
Returns the ref object typeint
getVariableType()
Returns the variable typeboolean
hasObjectReference()
boolean
isAllowEmptyValue()
Returns whether allow emptyboolean
isMultipleValue()
Returns whether multipleboolean
isPrompt()
get the isPrompt of the variableboolean
isRequired()
get the isTransactionColumn of the variableboolean
isSecretValueChanged()
get the secret value changed or notboolean
isTransactionColumn()
get the isTransactionColumn of the variablevoid
setAllowEmptyValue(boolean allowEmpty)
Set allow emptyvoid
setDefaultValue(java.lang.String defaultValue)
set the DefaultValue of the variablevoid
setDesc(java.lang.String desc)
set the desc of the variablevoid
setId(java.lang.String id)
set the id of the variablevoid
setMultipleValue(boolean multiple)
Set multiplevoid
setName(java.lang.String name)
set the name of the variablevoid
setPrompt(boolean isPrompt)
Set isPromptvoid
setRefId(java.lang.String refId)
set the refId of the variablevoid
setRefType(int refType)
Set or modify the variable typevoid
setRequired(boolean isRequired)
Set isTransactionColumnvoid
setSecretValueChanged(boolean isSecretValueChanged)
get the secret value changed or notvoid
setTransactionColumn(boolean isTransactionColumn)
Set isTransactionColumnvoid
setVariableType(int type)
Set or modify the variable type
-
-
-
Method Detail
-
setId
public void setId(java.lang.String id)
set the id of the variable
-
getId
public java.lang.String getId()
get the id of the variable
-
setName
public void setName(java.lang.String name)
set the name of the variable
-
getName
public java.lang.String getName()
get the name of the variable
-
getVariableType
public int getVariableType()
Returns the variable type
-
setVariableType
public void setVariableType(int type)
Set or modify the variable type
-
isAllowEmptyValue
public boolean isAllowEmptyValue()
Returns whether allow empty
-
setAllowEmptyValue
public void setAllowEmptyValue(boolean allowEmpty)
Set allow empty
-
isMultipleValue
public boolean isMultipleValue()
Returns whether multiple
-
setMultipleValue
public void setMultipleValue(boolean multiple)
Set multiple
-
setDesc
public void setDesc(java.lang.String desc)
set the desc of the variable
-
getDesc
public java.lang.String getDesc()
get the desc of the variable
-
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)
set the DefaultValue of the variable
-
getDefaultValue
public java.lang.String getDefaultValue()
get the DefaultValue of the variable
-
setPrompt
public void setPrompt(boolean isPrompt)
Set isPrompt
-
isPrompt
public boolean isPrompt()
get the isPrompt of the variable
-
isSecretValueChanged
public boolean isSecretValueChanged()
get the secret value changed or not
-
setTransactionColumn
public void setTransactionColumn(boolean isTransactionColumn)
Set isTransactionColumn
-
isTransactionColumn
public boolean isTransactionColumn()
get the isTransactionColumn of the variable
-
setRequired
public void setRequired(boolean isRequired)
Set isTransactionColumn
-
isRequired
public boolean isRequired()
get the isTransactionColumn of the variable
-
setRefId
public void setRefId(java.lang.String refId)
set the refId of the variable
-
getRefId
public java.lang.String getRefId()
get the refId of the variable
-
getRefType
public int getRefType()
Returns the ref object type
-
setRefType
public void setRefType(int refType)
Set or modify the variable type
-
hasObjectReference
public boolean hasObjectReference()
-
setSecretValueChanged
public void setSecretValueChanged(boolean isSecretValueChanged)
get the secret value changed or not
-
buildXMLBody
public void buildXMLBody(WebXMLBuilder builder)
build the xml body for script variable
-
createWebScriptVariable
public static WebScriptVariable createWebScriptVariable(org.xml.sax.Attributes attrs)
restore the script variable object from the xml attrs
-
createWebScriptVariable
public static WebScriptVariable createWebScriptVariable()
create the WebScriptVariable instance
-
-