Difference between revisions of "PrF UG inst entry field boolean"
From Protege Wiki
(Automated import of articles) |
|||
Line 4: | Line 4: | ||
{{PrF_UG_TOC_inst}}<div id='prf_ug'> | {{PrF_UG_TOC_inst}}<div id='prf_ug'> | ||
− | 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: |
Revision as of 15:09, October 15, 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:
not Urgent | |
Urgent |