Difference between revisions of "PrF UG inst entry field boolean"
From Protege Wiki
(Automated import of articles) |
|||
(7 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 of | + | When an instance is created for a class with a slot |
− | [[PrF_UG_slots_value_type_boolean|Boolean value type]], | + | of [[PrF_UG_slots_value_type_boolean|Boolean value type]], |
the entry field corresponding to the slot is a Boolean field, | the entry field corresponding to the slot is a Boolean field, | ||
and contains a value which is either true or false. | and contains a value which is either true or false. | ||
Line 11: | Line 11: | ||
=== Single Cardinality === | === Single Cardinality === | ||
− | An instance with a <b>Boolean</b> field with <b>Single</b> cardinality displays as a checkbox. | + | An instance with a <b>Boolean</b> field with <b>Single</b> cardinality |
+ | displays as a checkbox. | ||
To set or change the value for a Boolean/single slot, | To set or change the value for a Boolean/single slot, | ||
click in the box to add or remove the checkmark. | click in the box to add or remove the checkmark. | ||
− | For example, | + | For example, the <b>Personals_Ad</b> class contains the Boolean slot <b>Urgent</b>; |
− | the <b>Personals_Ad</b> class contains the Boolean slot <b>Urgent</b>; | ||
the <b>Silly</b> instance of <b>Personals_Ad</b> is not Urgent, | the <b>Silly</b> instance of <b>Personals_Ad</b> is not Urgent, | ||
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| | + | Boolean (unchecked)]] |
− | + | </td><td> | |
− | + | [[Image:PrF_UG_slots_boolean_checked.png|frame|none| | |
− | + | Boolean (checked)]] | |
− | [[Image:PrF_UG_slots_boolean_checked.png| | + | </td></tr></table> |
− | |||
− | |||
− | </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: