Package org.jbpm.designer.client.shared
Class Variable
- java.lang.Object
-
- org.jbpm.designer.client.shared.Variable
-
public class Variable extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Variable.VariableType
-
Constructor Summary
Constructors Constructor Description Variable(String name, Variable.VariableType variableType)
Variable(String name, Variable.VariableType variableType, String dataType, String customDataType)
Variable(Variable.VariableType variableType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Variable
deserialize(String s, Variable.VariableType variableType)
Deserializes a variable, NOT checking whether the datatype is customstatic Variable
deserialize(String s, Variable.VariableType variableType, List<String> dataTypes)
Deserializes a variable, checking whether the datatype is custom or notboolean
equals(Object o)
String
getCustomDataType()
String
getDataType()
String
getName()
Variable.VariableType
getVariableType()
int
hashCode()
void
setCustomDataType(String customDataType)
void
setDataType(String dataType)
void
setName(String name)
void
setVariableType(Variable.VariableType variableType)
String
toString()
-
-
-
Constructor Detail
-
Variable
public Variable(Variable.VariableType variableType)
-
Variable
public Variable(String name, Variable.VariableType variableType)
-
Variable
public Variable(String name, Variable.VariableType variableType, String dataType, String customDataType)
-
-
Method Detail
-
getVariableType
public Variable.VariableType getVariableType()
-
setVariableType
public void setVariableType(Variable.VariableType variableType)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDataType
public String getDataType()
-
setDataType
public void setDataType(String dataType)
-
getCustomDataType
public String getCustomDataType()
-
setCustomDataType
public void setCustomDataType(String customDataType)
-
deserialize
public static Variable deserialize(String s, Variable.VariableType variableType, List<String> dataTypes)
Deserializes a variable, checking whether the datatype is custom or not- Parameters:
s
-variableType
-dataTypes
-- Returns:
-
deserialize
public static Variable deserialize(String s, Variable.VariableType variableType)
Deserializes a variable, NOT checking whether the datatype is custom- Parameters:
s
-variableType
-- Returns:
-
-