Difference between revisions of "PrF UG inst entry field boolean"
From Protege Wiki
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== The Boolean Fields == | == The Boolean Fields == | ||
− | {{PrF_UG_TOC_inst}}<div id='prf_ug'> | + | <noinclude>{{PrF_UG_TOC_inst}}<div id='prf_ug'></noinclude> |
When an instance is created for a class with a slot | When an instance is created for a class with a slot | ||
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)]] |
− | + | </td><td> | |
− | + | [[Image:PrF_UG_slots_boolean_checked.png|frame|none| | |
− | + | Boolean (checked)]] | |
− | + | </td></tr></table> | |
− | |||
− | [[Image:PrF_UG_slots_boolean_checked.png|frame|none| | ||
− | |||
− | |||
− | < | ||
− | |||
− | </div> | + | <noinclude></div></noinclude> |
Latest revision as of 17:06, November 13, 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: