Class JsonParametersValueAccessor
java.lang.Object
de.xima.fc.workflow.designer.model.prompt_query.JsonParametersValueAccessor
- All Implemented Interfaces:
IValueAccessor<Object>, Serializable
An
IValueAccessor for the single JSON parameters of a FcPromptQueryProps.- Since:
- 8.5.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new accessor for the single JSON parameters of the given properties. -
Method Summary
Modifier and TypeMethodDescriptionget()Gets the value.booleanhasValue()Checks if a value is present.voidRemoves the value (so thatIValueAccessor.hasValue()returns false).voidSets the value.
-
Constructor Details
-
JsonParametersValueAccessor
Creates a new accessor for the single JSON parameters of the given properties.- Parameters:
props- The properties to access.
-
-
Method Details
-
get
Description copied from interface:IValueAccessorGets the value. This will return null if no valueis present.- Specified by:
getin interfaceIValueAccessor<Object>- Returns:
- The value
-
hasValue
public boolean hasValue()Description copied from interface:IValueAccessorChecks if a value is present.- Specified by:
hasValuein interfaceIValueAccessor<Object>- Returns:
- true if a value is present, false otherwise
-
removeValue
public void removeValue()Description copied from interface:IValueAccessorRemoves the value (so thatIValueAccessor.hasValue()returns false).- Specified by:
removeValuein interfaceIValueAccessor<Object>
-
set
Description copied from interface:IValueAccessorSets the value. This will makeIValueAccessor.hasValue()return true.- Specified by:
setin interfaceIValueAccessor<Object>- Parameters:
value- The value to set
-