fluid-api/src/main/java/com/fluidbpm/program/api/vo/flow/FlowStep.java
public void setStepProperty(
            String nameParam, String valueParam)
    {
        if(this.getStepProperties() == null)
        {
            this.setStepProperties(new ArrayList());
        }

        if(nameParam == null || nameParam.trim().isEmpty())
        {
            return;
        }

        if(valueParam.trim().isEmpty())
        {
            return;
        }

        String paramLower = nameParam.toLowerCase();

        for(StepProperty existingProp : this.getStepProperties())
        {
            if(existingProp.getName().toLowerCase().equals(paramLower))
            {
                existingProp.setValue(valueParam);
                return;
            }
        }

        this.getStepProperties().add(new StepProperty(nameParam, valueParam));
    }
public void setStepProperty(
            String nameParam, String valueParam)
    {
        if(this.getStepProperties() == null)
        {
            this.setStepProperties(new ArrayList());
        }

        if(nameParam == null || nameParam.trim().isEmpty())
        {
            return;
        }

        if(valueParam.trim().isEmpty())
        {
            return;
        }

        String paramLower = nameParam.toLowerCase();

        for(StepProperty existingProp : this.getStepProperties())
        {
            if(existingProp.getName().toLowerCase().equals(paramLower))
            {
                existingProp.setValue(valueParam);
                return;
            }
        }

        this.getStepProperties().add(new StepProperty(nameParam, valueParam));
    }
Sets the property value of the step with
property name {@code nameParam}.

@param nameParam The property name.
@param valueParam The property value.