Class CometParameterizedScript.Parameter
- java.lang.Object
-
- com.priint.pubserver.comet.entity.statement.CometParameterizedScript.Parameter
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CometParameterizedScript
public static class CometParameterizedScript.Parameter extends java.lang.Object implements java.io.SerializableThe Class Parameter.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Parameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDeclaration()Gets the declaration.java.lang.StringgetDefaultValue()Gets the default value.java.lang.StringgetDescription()Gets the description.java.lang.StringgetName()Gets the name.intgetScriptId()Gets the script id.CometParameterizedScript.DocumentResourcegetSource()Gets the source.java.lang.StringgetStatement()Gets the statement.CometParameterizedScript.ParameterTypegetType()Gets the type.java.util.List<java.lang.String>getValues()Gets the values.voidsetDefaultValue(java.lang.String defaultValue)Sets the default value.voidsetDescription(java.lang.String description)Sets the description.voidsetName(java.lang.String name)Sets the name.voidsetScriptId(int scriptId)Sets the script id.voidsetSource(CometParameterizedScript.DocumentResource source)Sets the source.voidsetStatement(java.lang.String statement)Sets the statement.voidsetType(CometParameterizedScript.ParameterType type)Sets the type.voidsetValues(java.util.List<java.lang.String> values)Sets the values.
-
-
-
Method Detail
-
getDeclaration
public java.lang.String getDeclaration()
Gets the declaration.- Returns:
- the declaration
-
getDefaultValue
public java.lang.String getDefaultValue()
Gets the default value.- Returns:
- the default value
-
getDescription
public java.lang.String getDescription()
Gets the description.- Returns:
- the description
-
getName
public java.lang.String getName()
Gets the name.- Returns:
- the name
-
getScriptId
public int getScriptId()
Gets the script id.- Returns:
- the script id
-
getSource
public CometParameterizedScript.DocumentResource getSource()
Gets the source.- Returns:
- the source
-
getStatement
public java.lang.String getStatement()
Gets the statement.- Returns:
- the statement
-
getType
public CometParameterizedScript.ParameterType getType()
Gets the type.- Returns:
- the type
-
getValues
public java.util.List<java.lang.String> getValues()
Gets the values.- Returns:
- the values
-
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)
Sets the default value.- Parameters:
defaultValue- the new default value
-
setDescription
public void setDescription(java.lang.String description)
Sets the description.- Parameters:
description- the new description
-
setName
public void setName(java.lang.String name)
Sets the name.- Parameters:
name- the new name
-
setScriptId
public void setScriptId(int scriptId)
Sets the script id.- Parameters:
scriptId- the new script id
-
setSource
public void setSource(CometParameterizedScript.DocumentResource source)
Sets the source.- Parameters:
source- the new source
-
setStatement
public void setStatement(java.lang.String statement)
Sets the statement.- Parameters:
statement- the new statement
-
setType
public void setType(CometParameterizedScript.ParameterType type)
Sets the type.- Parameters:
type- the new type
-
setValues
public void setValues(java.util.List<java.lang.String> values)
Sets the values.- Parameters:
values- the new values
-
-