Difference between revisions of "PrF UG inst entry field boolean"
From Protege Wiki
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]] | ||
− | + | </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
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: