Difference between revisions of "PrF UG inst standard fields"
Line 35: | Line 35: | ||
| | | | ||
[[PrF_UG_inst_entry_field_boolean|Boolean]] | [[PrF_UG_inst_entry_field_boolean|Boolean]] | ||
− | | a checkbox field that is true or false | + | | |
+ | a checkbox field that is true or false | ||
| | | | ||
[[Image:PrF_UG_slots_boolean_unchecked.png|slots_boolean_unchecked]] | [[Image:PrF_UG_slots_boolean_unchecked.png|slots_boolean_unchecked]] | ||
Line 41: | Line 42: | ||
| | | | ||
[[PrF_UG_inst_entry_field_class|Class]] | [[PrF_UG_inst_entry_field_class|Class]] | ||
− | | 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 | ||
| | | | ||
[[Image:PrF_UG_inst_field_type_class_location.png|instances_field_type_class_location]] | [[Image:PrF_UG_inst_field_type_class_location.png|instances_field_type_class_location]] | ||
Line 47: | Line 49: | ||
| | | | ||
[[PrF_UG_inst_entry_field_float|Float]] | [[PrF_UG_inst_entry_field_float|Float]] | ||
− | | 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 | ||
| | | | ||
[[Image:PrF_UG_inst_filled_entry_float.png|instances_filled_entry_float]] | [[Image:PrF_UG_inst_filled_entry_float.png|instances_filled_entry_float]] | ||
Line 53: | Line 56: | ||
| | | | ||
[[PrF_UG_inst_entry_field_instance|Instance]] | [[PrF_UG_inst_entry_field_instance|Instance]] | ||
− | | 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 | ||
| | | | ||
[[Image:PrF_UG_inst_filled_entry_instance.png|instances_filled_entry_instance]] | [[Image:PrF_UG_inst_filled_entry_instance.png|instances_filled_entry_instance]] | ||
Line 59: | Line 63: | ||
| | | | ||
[[PrF_UG_inst_entry_field_integer|Integer]] | [[PrF_UG_inst_entry_field_integer|Integer]] | ||
− | | 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 | ||
| | | | ||
[[Image:PrF_UG_inst_filled_entry_integer.png|instances_filled_entry_integer]] | [[Image:PrF_UG_inst_filled_entry_integer.png|instances_filled_entry_integer]] | ||
Line 65: | Line 70: | ||
| | | | ||
[[PrF_UG_inst_entry_field_string|String]] | [[PrF_UG_inst_entry_field_string|String]] | ||
− | | 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 | ||
| | | | ||
[[Image:PrF_UG_inst_filled_entry_field_string.png|instances_filled_entry_field_string]] | [[Image:PrF_UG_inst_filled_entry_field_string.png|instances_filled_entry_field_string]] | ||
Line 71: | Line 77: | ||
| | | | ||
[[PrF_UG_inst_entry_field_symbol|Symbol]] | [[PrF_UG_inst_entry_field_symbol|Symbol]] | ||
− | | 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 | ||
| | | | ||
[[Image:PrF_UG_inst_filled_entry_symbol.png|instances_filled_entry_symbol]] | [[Image:PrF_UG_inst_filled_entry_symbol.png|instances_filled_entry_symbol]] |
Revision as of 23:55, October 15, 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 | Default Appearance |
---|---|---|
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 |