Interface Variable


@Api public interface Variable
Class representing process variable.
Author:
RafaƂ Nowacki 3 cze 2016
  • 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

      void setValue(Object value)
      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.