Interface Variable
Class representing process variable.
- Author:
- RafaĆ Nowacki 3 cze 2016
-
Method Summary
Modifier and TypeMethodDescriptionType<?>
Returns basic type from xpdl declaration.Returns variable description.getId()
Returns variable id.getName()
Returns variable name.Type<?>
Returns pm_idx type from dbType<?>
getType()
Returns variable type.<T> T
getValue()
Returns variable value.Returns value parsed to basic type from xpdl definition.Returns value parsed to type for pm_idx tableboolean
Determines if variable has value changed but that value has not been saved in database yet.boolean
isArray()
Determines if variable is from table.void
Sets the value;void
Marks that value is synchronized because it was saved in database.
-
Method Details
-
getId
String getId()Returns variable id. -
getType
Type<?> getType()Returns variable type. -
getBasicType
Type<?> getBasicType()Returns basic type from xpdl declaration. -
getPmidxType
Type<?> getPmidxType()Returns pm_idx type from db -
getValue
<T> T getValue()Returns variable value. -
setValue
Sets the value;- Parameters:
value
- Value to set.
-
getValueAsBasicType
Object getValueAsBasicType()Returns value parsed to basic type from xpdl definition. -
getValueAsPmidxType
Object getValueAsPmidxType()Returns value parsed to type for pm_idx table- Returns:
- parsed value
-
getName
String getName()Returns variable name. -
getDescription
String getDescription()Returns variable description. -
isArray
boolean isArray()Determines if variable is from table. -
hasPhantomValue
boolean hasPhantomValue()Determines if variable has value changed but that value has not been saved in database yet. -
valueSynchronized
void valueSynchronized()Marks that value is synchronized because it was saved in database.
-