Package flexagon.fd.core
Class PropertyValue
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.core.PropertyValue
- All Implemented Interfaces:
Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprotected DataTypeEnumprotected Booleanprotected Booleanprotected Object -
Constructor Summary
ConstructorsConstructorDescriptionINTERNAL USE ONLYPropertyValue(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(Object pValue, DataTypeEnum pDataType, Boolean pIsEncrypted, Boolean pIsExpression) INTERNAL USE ONLY -
Method Summary
Modifier and TypeMethodDescriptionThe data type of this property valuegetValue()Returns the embedded value from this PropertyValue.Returns whether this property value is encryptedvoidsetDataType(DataTypeEnum pDataType) INTERNAL USE ONLYvoidsetIsEncrypted(Boolean pIsEncrypted) INTERNAL USE ONLYvoidsetIsExpression(Boolean pIsExpression) voidINTERNAL USE ONLYvoidsetValueFromStr(String pValue) toString()Returns the String representation of this PropertyValue.
-
Field Details
-
mValue
-
mDataType
-
mIsEncrypted
-
mIsExpression
-
-
Constructor Details
-
PropertyValue
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
INTERNAL USE ONLY -
setValueFromStr
-
getValue
Returns the embedded value from this PropertyValue. Must be cast according to its type.- Returns:
- the value of the property
-
setDataType
INTERNAL USE ONLY -
getDataType
The data type of this property value- Returns:
- the property data type
-
setIsEncrypted
INTERNAL USE ONLY -
isIsEncrypted
Returns whether this property value is encrypted- Returns:
- true if the property value is encrypted; false otherwise
-
setIsExpression
-
isExpression
-
toString
Returns the String representation of this PropertyValue. Encrypted values will not be displayed in readable form. -
getDebugValue
-