PrF UG inst multiple cardinality

From Protege Wiki
Revision as of 00:54, October 16, 2008 by RichMorin (talk | contribs)

Jump to: navigation, search

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:

Error creating thumbnail: Unable to save thumbnail to destination

For these fields, the field buttons do the following:

Error creating thumbnail: Unable to save thumbnail to destination

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

Error creating thumbnail: Unable to save thumbnail to destination

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

Error creating thumbnail: Unable to save thumbnail to destination

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
Error creating thumbnail: Unable to save thumbnail to destination
or creating/adding
Error creating thumbnail: Unable to save thumbnail to destination
a value

displays a dialog box where you can type. Enter a valid value in the dialog box and click OK.

Removing
Error creating thumbnail: Unable to save thumbnail to destination

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

Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
, creating
Error creating thumbnail: Unable to save thumbnail to destination

(Instance only),

adding
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
, and removing
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
values.

The only difference is that multiple values can be stored in the field.