Difference between revisions of "PrF UG inst multiple cardinality"
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Fields with Multiple Cardinality == | == Fields with Multiple Cardinality == | ||
− | {{PrF_UG_TOC_inst}}<div id='prf_ug'> | + | <noinclude>{{PrF_UG_TOC_inst}}<div id='prf_ug'></noinclude> |
If the slot corresponding to a field has <b>Multiple</b> Cardinality, | If the slot corresponding to a field has <b>Multiple</b> Cardinality, | ||
Line 15: | Line 15: | ||
the field is shown as a display list with three field buttons at the top right: | the field is shown as a display list with three field buttons at the top right: | ||
− | <div>[[Image:PrF_UG_inst_filled_entry_float_multiple.png| | + | <div>[[Image:PrF_UG_inst_filled_entry_float_multiple.png|frame|none| |
− | + | Multiple Cardinality display list]]</div> | |
For these fields, the field buttons do the following: | For these fields, the field buttons do the following: | ||
+ | <div class='b'> | ||
{| summary="field buttons" | {| summary="field buttons" | ||
| width="50" | | | width="50" | | ||
Line 39: | Line 40: | ||
Removes any highlighted value(s). | Removes any highlighted value(s). | ||
|} | |} | ||
+ | </div> | ||
For [[PrF_UG_inst_entry_field_boolean|Boolean]] fields, | For [[PrF_UG_inst_entry_field_boolean|Boolean]] fields, | ||
Line 49: | Line 51: | ||
[[PrF_UG_inst_entry_field_string|String]], | [[PrF_UG_inst_entry_field_string|String]], | ||
and [[PrF_UG_inst_entry_field_symbol|Symbol]] entry fields, | and [[PrF_UG_inst_entry_field_symbol|Symbol]] entry fields, | ||
− | viewing [[Image:PrF_UG_all_object.view.gif|all_object.view]] | + | viewing ([[Image:PrF_UG_all_object.view.gif|all_object.view]]) |
− | or creating/adding [[Image:PrF_UG_all_object.add.gif|all_object.add]] a value | + | or creating/adding ([[Image:PrF_UG_all_object.add.gif|all_object.add]]) a value |
displays a dialog box where you can type. | displays a dialog box where you can type. | ||
Enter a valid value in the dialog box and click <b>OK</b>. | Enter a valid value in the dialog box and click <b>OK</b>. | ||
− | Removing [[Image:PrF_UG_all_object.remove.gif|all_object.remove]] | + | Removing ([[Image:PrF_UG_all_object.remove.gif|all_object.remove]]) |
removes the highlighted value. | removes the highlighted value. | ||
Line 60: | Line 62: | ||
single and multiple cardinality fields have the same buttons | single and multiple cardinality fields have the same buttons | ||
and the same methods for viewing | and the same methods for viewing | ||
− | [[Image:PrF_UG_classes_class.view.gif|classes_class.view]] | + | ([[Image:PrF_UG_classes_class.view.gif|classes_class.view]], |
− | [[Image:PrF_UG_inst_instance.view.gif|instances_instance.view]], | + | [[Image:PrF_UG_inst_instance.view.gif|instances_instance.view]]), |
− | creating [[Image:PrF_UG_inst_instance.create.gif|instances_instance.create]] | + | creating ([[Image:PrF_UG_inst_instance.create.gif|instances_instance.create]] - |
− | + | [[PrF_UG_inst_entry_field_instance|Instance]] only), | |
− | adding [[Image:PrF_UG_classes_class.add.gif|classes_class.add]] | + | adding ([[Image:PrF_UG_classes_class.add.gif|classes_class.add]], |
− | [[Image:PrF_UG_inst_instance.add.gif|instances_instance.add]], | + | [[Image:PrF_UG_inst_instance.add.gif|instances_instance.add]]), |
− | and removing [[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]] | + | and removing ([[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]], |
− | [[Image:PrF_UG_inst_instance.remove.gif|instances_instance.remove]] values. | + | [[Image:PrF_UG_inst_instance.remove.gif|instances_instance.remove]]) values. |
The only difference is that multiple values can be stored in the field. | The only difference is that multiple values can be stored in the field. | ||
− | </div> | + | |
+ | <noinclude></div></noinclude> |
Latest revision as of 17:15, November 13, 2008
Fields with Multiple Cardinality
If the slot corresponding to a field has Multiple Cardinality, then the field allows multiple entries. How the information is entered and displayed depends on the field type.
For Boolean, Float, Integer, String, and Symbol entry fields, the field is shown as a display list with three field buttons at the top right:
For these fields, the field buttons do the following:
View Value: Opens an entry box for any highlighted value(s) and allows you to make changes. | |
Create Value or Add Value: Opens an entry box for a new value and allows you to edit it. | |
Remove Value: Removes any highlighted value(s). |
For Boolean fields, viewing or creating a value displays a dialog box with a drop-down menu containing two choices: true or false. Select one and click OK.
For Float, Integer, String, and Symbol entry fields, viewing () or creating/adding () a value displays a dialog box where you can type. Enter a valid value in the dialog box and click OK. Removing () removes the highlighted value.
For Class and Instance entry fields, single and multiple cardinality fields have the same buttons and the same methods for viewing (, ), creating ( - Instance only), adding (, ), and removing (, ) values. The only difference is that multiple values can be stored in the field.