Difference between revisions of "PrF UG inst entry field boolean"

From Protege Wiki
Jump to: navigation, search
Line 20: Line 20:
 
while the <b>M137</b> instance is:
 
while the <b>M137</b> instance is:
  
 +
<table><tr><td>
 
[[Image:PrF_UG_slots_boolean_unchecked.png|frame|none|
 
[[Image:PrF_UG_slots_boolean_unchecked.png|frame|none|
 
   Boolean, unchecked]]
 
   Boolean, unchecked]]
&nbsp;
+
</td><td>
 
[[Image:PrF_UG_slots_boolean_checked.png|frame|none|
 
[[Image:PrF_UG_slots_boolean_checked.png|frame|none|
 
   Boolean, checked]]
 
   Boolean, checked]]
 
+
</td></tr></table>
  
 
</div>
 
</div>

Revision as of 15:08, October 22, 2008

The Boolean Fields


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

When an instance is created for a class with a slot of Boolean value type, the entry field corresponding to the slot is a Boolean field, and contains a value which is either true or false.

Single Cardinality

An instance with a Boolean field with Single cardinality displays as a checkbox. To set or change the value for a Boolean/single slot, click in the box to add or remove the checkmark.

For example, the Personals_Ad class contains the Boolean slot Urgent; the Silly instance of Personals_Ad is not Urgent, while the M137 instance is:

Boolean, unchecked
Boolean, checked