public void addParameterConstraint(LocalFieldDesc field, int index) {
// Generate parameter info for this parameter.
String fieldName = field.getName();
int type = field.getEnumType();
addConstraint(null, ActionDesc.OP_PARAMETER,new ParameterInfo(index, type, fieldName));
addConstraint(fieldName, ActionDesc.OP_FIELD, null);
addConstraint(null, ActionDesc.OP_EQ, null);
}