Hi,
I'm using ParameterDefinitionImpl ctor that has takes a constraint as a String value. How do I specify the constraint if the constraint is defined in my model:
paramList.add(new ParameterDefinitionImpl(PARAM_MY_PARAM, DataTypeDefinition.TEXT, false,
getParamDisplayLabel(PARAM_MY_PARAM), false, "mydocument:my_constraint"));
does not work.
<constraint name="mydocument:my_constraint" type="LIST">
<parameter name="allowedValues">
<list>
<value>asdf</value>
<value>qwerty</value>
<value>zzaa1</value>
<value>1234</value>
</list>
</parameter>
</constraint>