Difference between revisions of "PrF UG inst standard fields"
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== The Standard Field Types == | == The Standard Field Types == | ||
− | {{PrF_UG_TOC_inst}}<div id='prf_ug'> | + | <noinclude>{{PrF_UG_TOC_inst}}<div id='prf_ug'></noinclude> |
Template slots for a class are translated to entry fields for an instance of that class. | Template slots for a class are translated to entry fields for an instance of that class. | ||
Line 22: | Line 22: | ||
These topics describe the default fields only. | These topics describe the default fields only. | ||
You can select different formats for some fields, | You can select different formats for some fields, | ||
− | using the [[PrF_UG_forms_forms_tab|Forms | + | using the [[PrF_UG_forms_forms_tab|Forms tab]]. |
{{#var:PrF}} provides the following fields | {{#var:PrF}} provides the following fields | ||
Line 28: | Line 28: | ||
For simplicity, only the <b>Single</b> cardinality is shown: | For simplicity, only the <b>Single</b> cardinality is shown: | ||
+ | <div class='b'> | ||
{| summary="default fields" | {| summary="default fields" | ||
! Field Type | ! Field Type | ||
! Default Field | ! Default Field | ||
− | |||
|- | |- | ||
| | | | ||
Line 37: | Line 37: | ||
| | | | ||
a checkbox field that is true or false | a checkbox field that is true or false | ||
− | + | <p>[[Image:PrF_UG_slots_boolean_unchecked.png|slots_boolean_unchecked]]</p> | |
− | [[Image:PrF_UG_slots_boolean_unchecked.png|slots_boolean_unchecked]] | ||
|- | |- | ||
| | | | ||
Line 44: | Line 43: | ||
| | | | ||
a display field and buttons that allow you to specify a class as the field value | a display field and buttons that allow you to specify a class as the field value | ||
− | + | <p>[[Image:PrF_UG_inst_field_type_class_location.png|instances_field_type_class_location]]</p> | |
− | [[Image:PrF_UG_inst_field_type_class_location.png|instances_field_type_class_location]] | ||
|- | |- | ||
| | | | ||
Line 51: | Line 49: | ||
| | | | ||
an entry field that verifies that the entered value is a valid decimal number | an entry field that verifies that the entered value is a valid decimal number | ||
− | + | <p>[[Image:PrF_UG_inst_filled_entry_float.png|instances_filled_entry_float]]</p> | |
− | [[Image:PrF_UG_inst_filled_entry_float.png|instances_filled_entry_float]] | ||
|- | |- | ||
| | | | ||
Line 58: | Line 55: | ||
| | | | ||
a display field and buttons that allow you to create or specify an instance as the field value | a display field and buttons that allow you to create or specify an instance as the field value | ||
− | + | <p>[[Image:PrF_UG_inst_filled_entry_instance.png|instances_filled_entry_instance]]</p> | |
− | [[Image:PrF_UG_inst_filled_entry_instance.png|instances_filled_entry_instance]] | ||
|- | |- | ||
| | | | ||
Line 65: | Line 61: | ||
| | | | ||
an entry field that verifies that the entered value is a valid whole number | an entry field that verifies that the entered value is a valid whole number | ||
− | + | <p>[[Image:PrF_UG_inst_filled_entry_integer.png|instances_filled_entry_integer]]</p> | |
− | [[Image:PrF_UG_inst_filled_entry_integer.png|instances_filled_entry_integer]] | ||
|- | |- | ||
| | | | ||
Line 72: | Line 67: | ||
| | | | ||
an entry field that verifies that the entered value is a valid string | an entry field that verifies that the entered value is a valid string | ||
− | + | <p>[[Image:PrF_UG_inst_filled_entry_field_string.png|instances_filled_entry_field_string]]</p> | |
− | [[Image:PrF_UG_inst_filled_entry_field_string.png|instances_filled_entry_field_string]] | ||
|- | |- | ||
| | | | ||
Line 79: | Line 73: | ||
| | | | ||
a drop-down list that displays the Symbol's preset list of values | a drop-down list that displays the Symbol's preset list of values | ||
− | + | <p>[[Image:PrF_UG_inst_filled_entry_symbol.png|instances_filled_entry_symbol]]</p> | |
− | [[Image:PrF_UG_inst_filled_entry_symbol.png|instances_filled_entry_symbol]] | ||
|} | |} | ||
+ | </div> | ||
− | </div> | + | |
+ | <noinclude></div></noinclude> |
Latest revision as of 17:16, November 13, 2008
The Standard Field Types
Template slots for a class are translated to entry fields for an instance of that class. For each slot in the class, the Instance Editor displays a field where a user can enter information corresponding to that slot. For example, the headline slot for the Article class becomes a field where the user can enter a headline for an instance. The display and options for the field depend on the type of information that can be entered in the field.
The different field types are based on the value type of the corresponding slot. For example, a slot of value type String is represented by a String entry field.
Note: These topics describe the default fields only. You can select different formats for some fields, using the Forms tab.
Protege-Frames provides the following fields for both Single and Multiple cardinality. For simplicity, only the Single cardinality is shown:
Field Type | Default Field |
---|---|
a checkbox field that is true or false | |
a display field and buttons that allow you to specify a class as the field value | |
an entry field that verifies that the entered value is a valid decimal number | |
a display field and buttons that allow you to create or specify an instance as the field value | |
an entry field that verifies that the entered value is a valid whole number | |
an entry field that verifies that the entered value is a valid string | |
a drop-down list that displays the Symbol's preset list of values |