Class PropertyValue

All Implemented Interfaces:
Serializable

public class PropertyValue extends BasePOJO
Represents a property value returned the Properties stored within the WorkflowExecutionContext. The value of this object returned from getValue() must be cast according to its type.
See Also:
  • Field Details

    • mValue

      protected Object mValue
    • mDataType

      protected DataTypeEnum mDataType
    • mIsEncrypted

      protected Boolean mIsEncrypted
    • mIsExpression

      protected Boolean mIsExpression
  • Constructor Details

    • PropertyValue

      public PropertyValue(Object pValue, DataTypeEnum pDataType, Boolean pIsEncrypted)
      INTERNAL USE ONLY - this is a constructor that defaults isExpression to false for use with plugin testcases that were made before the constructor below.
    • PropertyValue

      public PropertyValue(Object pValue, DataTypeEnum pDataType, Boolean pIsEncrypted, Boolean pIsExpression)
      INTERNAL USE ONLY
    • PropertyValue

      public PropertyValue()
      INTERNAL USE ONLY
  • Method Details

    • setValue

      public void setValue(Object pValue)
      INTERNAL USE ONLY
    • setValueFromStr

      public void setValueFromStr(String pValue)
    • getValue

      public Object getValue()
      Returns the embedded value from this PropertyValue. Must be cast according to its type.
      Returns:
      the value of the property
    • setDataType

      public void setDataType(DataTypeEnum pDataType)
      INTERNAL USE ONLY
    • getDataType

      public DataTypeEnum getDataType()
      The data type of this property value
      Returns:
      the property data type
    • setIsEncrypted

      public void setIsEncrypted(Boolean pIsEncrypted)
      INTERNAL USE ONLY
    • isIsEncrypted

      public Boolean isIsEncrypted()
      Returns whether this property value is encrypted
      Returns:
      true if the property value is encrypted; false otherwise
    • setIsExpression

      public void setIsExpression(Boolean pIsExpression)
    • isExpression

      public Boolean isExpression()
    • toString

      public String toString()
      Returns the String representation of this PropertyValue. Encrypted values will not be displayed in readable form.
      Overrides:
      toString in class BasePOJO
      Returns:
      the String representation of this object
    • getDebugValue

      public String getDebugValue()