<typekey>
The <typekey> element defines a field for which a typelist defines the values. Guidewire defines this element in the data model metadata files as the <typekey> XML subelement.
Attributes of <typekey>
The <typekey> element contains the following attributes.
|
Description |
Default |
|---|---|---|
|
Optional. If specified, PolicyCenter uses this value as the column name of the corresponding database column. If you do not specify a The columnName attribute must be no more than 30 characters in length. It allows only unaccented Roman letters, numbers, and the underscore character. The first character of the columnName attribute must be a letter. Although the underscore character is allowable here, Guidewire discourages its use. IMPORTANT All column names on a table must be unique within that table. Otherwise, Guidewire Studio™ displays an error if you verify the resource and the application server fails to start. |
None |
|
Whether to create a histogram on the column during an update to the database statistics. Note: It is possible to override this attribute on an existing column in an extension (*.etx) file using the This change does not take effect during an upgrade. The change occurs only if you regenerate statistics for the affected table by using the Guidewire maintenance_tools command. See also |
|
|
The default value given to the field during new entity creation. |
None |
|
If If you deprecate a typekey, use the description attribute ( For more information, see Data entity subelements. |
|
|
A description of the purpose and use of the field. |
None |
|
Unused. |
|
|
See Data objects and scriptability for information. |
None |
|
If true, then you can load the field through staging tables. A staging table can contain a column, as a |
|
|
Internal. If true, then the loading code does not use a default value or report a warning if the column is nullable without a default. |
|
|
Required. Specifies the name of the property on the entity |
None |
|
Whether the field can contain |
|
|
Internal. If IMPORTANT If set to |
|
|
Whether the typekey is required to be non-null upon initial construction of instances of the entity. See Special behaviors for entity types during instantiation. |
|
|
See Data objects and scriptability for information. |
None |
|
Unused. |
|
|
The name of a filter associated with the typelist. See Static filters for additional information. |
None |
|
Required. The name of the typelist from which this field gets its value. See also |
None |
Subelements of <typekey>
The <typekey> element contains the following subelements.
|
Description |
Default |
|---|---|---|
|
Defines one or more |
None |
|
See <fulldescription>. |
None |
|
See <tag>. |
None |
Subelements of <keyfilters>
The <keyfilters> element contains the following subelements.
|
Description |
Default |
|---|---|---|
|
Specifies a keyfilter to use to filter the typelist. This element requires the Note: You can include multiple |
None |
