Difference between revisions of "PrF UG inst multiple cardinality"

From Protege Wiki
Jump to: navigation, search
(Automated import of articles)
 
 
(5 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 8: Line 8:
 
How the information is entered and displayed depends on the field type.
 
How the information is entered and displayed depends on the field type.
  
For
+
For [[PrF_UG_inst_entry_field_boolean|Boolean]],
[[PrF_UG_inst_entry_field_boolean|Boolean]],
 
 
[[PrF_UG_inst_entry_field_float|Float]],
 
[[PrF_UG_inst_entry_field_float|Float]],
 
[[PrF_UG_inst_entry_field_integer|Integer]],
 
[[PrF_UG_inst_entry_field_integer|Integer]],
 
[[PrF_UG_inst_entry_field_string|String]],
 
[[PrF_UG_inst_entry_field_string|String]],
and
+
and [[PrF_UG_inst_entry_field_symbol|Symbol]] entry fields,
[[PrF_UG_inst_entry_field_symbol|Symbol]]
 
entry fields,
 
 
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|instances_filled_entry_float_multiple]]</div>
+
<div>[[Image:PrF_UG_inst_filled_entry_float_multiple.png|frame|none|
 +
      Multiple Cardinality display list]]</div>
  
For these fields,
+
For these fields, the field buttons do the following:
the field buttons do the following:
 
  
 +
<div class='b'>
 
{| summary="field buttons"
 
{| summary="field buttons"
 
| width="50" |
 
| width="50" |
 
[[Image:PrF_UG_all_object.view.gif|all_object.view]]
 
[[Image:PrF_UG_all_object.view.gif|all_object.view]]
| <b>View Value</b>:
+
|
 +
<b>View Value</b>:
 
Opens an entry box for any highlighted value(s) and allows you to make changes.
 
Opens an entry box for any highlighted value(s) and allows you to make changes.
 
|-
 
|-
 
|
 
|
 
[[Image:PrF_UG_all_object.add.gif|all_object.add]]
 
[[Image:PrF_UG_all_object.add.gif|all_object.add]]
| <b>Create Value or Add Value</b>:
+
|
 +
<b>Create Value or Add Value</b>:
 
Opens an entry box for a new value and allows you to edit it.
 
Opens an entry box for a new value and allows you to edit it.
 
|-
 
|-
 
|
 
|
 
[[Image:PrF_UG_all_object.remove.gif|all_object.remove]]
 
[[Image:PrF_UG_all_object.remove.gif|all_object.remove]]
| <b>Remove Value</b>:
+
|
 +
<b>Remove Value</b>:
 
Removes any highlighted value(s).
 
Removes any highlighted value(s).
 
|}
 
|}
 +
</div>
  
For
+
For [[PrF_UG_inst_entry_field_boolean|Boolean]] fields,
[[PrF_UG_inst_entry_field_boolean|Boolean]]
+
viewing or creating a value displays a dialog box
fields,
+
with a drop-down menu containing two choices: true or false.
viewing or creating a value displays a dialog box with a drop-down menu containing two choices:
 
true or false.
 
 
Select one and click <b>OK</b>.
 
Select one and click <b>OK</b>.
  
For
+
For [[PrF_UG_inst_entry_field_float|Float]],
[[PrF_UG_inst_entry_field_float|Float]],
 
 
[[PrF_UG_inst_entry_field_integer|Integer]],
 
[[PrF_UG_inst_entry_field_integer|Integer]],
 
[[PrF_UG_inst_entry_field_string|String]],
 
[[PrF_UG_inst_entry_field_string|String]],
and
+
and [[PrF_UG_inst_entry_field_symbol|Symbol]] entry fields,
[[PrF_UG_inst_entry_field_symbol|Symbol]]
+
viewing ([[Image:PrF_UG_all_object.view.gif|all_object.view]])
entry fields,
+
or creating/adding ([[Image:PrF_UG_all_object.add.gif|all_object.add]]) a value
viewing
+
displays a dialog box where you can type.
<div>[[Image:PrF_UG_all_object.view.gif|all_object.view]]</div>
 
or creating/adding
 
[[Image:PrF_UG_all_object.add.gif|all_object.add]]
 
a value 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
+
Removing ([[Image:PrF_UG_all_object.remove.gif|all_object.remove]])
[[Image:PrF_UG_all_object.remove.gif|all_object.remove]]
 
 
removes the highlighted value.
 
removes the highlighted value.
  
For
+
For [[PrF_UG_inst_entry_field_class|Class]]
[[PrF_UG_inst_entry_field_class|Class]]
+
and [[PrF_UG_inst_entry_field_instance|Instance]] entry fields,
and
+
single and multiple cardinality fields have the same buttons
[[PrF_UG_inst_entry_field_instance|Instance]]
+
and the same methods for viewing
entry fields,
+
([[Image:PrF_UG_classes_class.view.gif|classes_class.view]],
single and multiple cardinality fields have the same buttons and the same methods for viewing
+
[[Image:PrF_UG_inst_instance.view.gif|instances_instance.view]]),
<div>[[Image:PrF_UG_classes_class.view.gif|classes_class.view]]</div>
+
creating ([[Image:PrF_UG_inst_instance.create.gif|instances_instance.create]] -
[[Image:PrF_UG_inst_instance.view.gif|instances_instance.view]],
+
[[PrF_UG_inst_entry_field_instance|Instance]] only),
creating
+
adding ([[Image:PrF_UG_classes_class.add.gif|classes_class.add]],
[[Image:PrF_UG_inst_instance.create.gif|instances_instance.create]]
+
[[Image:PrF_UG_inst_instance.add.gif|instances_instance.add]]),
([[PrF_UG_inst_entry_field_instance|Instance]]
+
and removing ([[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]],
only),
+
[[Image:PrF_UG_inst_instance.remove.gif|instances_instance.remove]]) values.
adding
 
[[Image:PrF_UG_classes_class.add.gif|classes_class.add]]
 
[[Image:PrF_UG_inst_instance.add.gif|instances_instance.add]],
 
and removing
 
[[Image:PrF_UG_classes_class.remove.gif|classes_class.remove]]
 
[[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


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.