public interface CMultiFieldObjectAccess
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFieldValueForConstraint(java.lang.String fieldname)
gets the field value according to constraint for the given field
|
void |
liftConstraint(java.lang.String fieldname)
lift constraint on the given field
|
boolean |
setConstraint(java.lang.String fieldname,
java.util.ArrayList<java.lang.String> restrainedvalues,
java.lang.String selected) |
boolean setConstraint(java.lang.String fieldname, java.util.ArrayList<java.lang.String> restrainedvalues, java.lang.String selected)
fieldname
- the name of the fieldrestrainedvalues
- the set of possible selections for this field. The
following will be performed:
selected
- the prefered value out of the restrained value. Will
force the field to the prefered value if entered if
provided with null, wil not select anyting, if
provided wih empty string "", will force to blankjava.lang.String getFieldValueForConstraint(java.lang.String fieldname)
fieldname
- unique java name of the fieldvoid liftConstraint(java.lang.String fieldname)
fieldname
- unique java name of the field