Difference between revisions of "PrF UG inst multiple cardinality"

From Protege Wiki
Jump to: navigation, search
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|
       instances_filled_entry_float_multiple]]</div>
+
       Multiple Cardinality display list]]</div>
  
 
For these fields, the field buttons do the following:
 
For these fields, the field buttons do the following:
Line 49: Line 49:
 
[[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 60:
 
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),
+
[[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>
 
</div>

Revision as of 16:52, October 22, 2008

Fields with Multiple Cardinality


Protege-Frames User's Guide
Instances
Instances Tab
Class Browser at Instances Tab
Instance Browser
Instances Window
Instance Buttons
Instance Menu
Types Pane
Instance Editor
Standard Field Types
Fields with Multiple Cardinality
Boolean Fields
Class Fields
Float Fields
Instance Fields
Integer Fields
String Fields
Symbol Fields
Creating an Instance
Creating Multiple Instances
Displaying the Instance Editor
Setting the Display Slot
Showing Subclass Instances
Editing an Instance
Copying an Instance
Deleting an Instance
Finding an Instance
Changing an Instance's Class
Working with Instance Types
Instance Icons
Glossary, Editing Help

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:

Multiple Cardinality display list

For these fields, the field buttons do the following:

all_object.view

View Value: Opens an entry box for any highlighted value(s) and allows you to make changes.

all_object.add

Create Value or Add Value: Opens an entry box for a new value and allows you to edit it.

all_object.remove

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 (all_object.view) or creating/adding (all_object.add) a value displays a dialog box where you can type. Enter a valid value in the dialog box and click OK. Removing (all_object.remove) 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 (classes_class.view, instances_instance.view), creating (instances_instance.create - Instance only), adding (classes_class.add, (instances_instance.add), and removing (classes_class.remove, instances_instance.remove) values. The only difference is that multiple values can be stored in the field.