Class WebScriptVariable


  • public class WebScriptVariable
    extends java.lang.Object
    • Constructor Detail

      • WebScriptVariable

        public WebScriptVariable()
    • 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