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> TgetValue()Returns variable value.Returns value parsed to basic type from xpdl definition.Returns value parsed to type for pm_idx tablebooleanDetermines if variable has value changed but that value has not been saved in database yet.booleanisArray()Determines if variable is from table.voidSets the value;voidMarks 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
-
getValueAsBasicType
Object getValueAsBasicType()Returns value parsed to basic type from xpdl definition. -
getValueAsPmidxType
-
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.
-