Overriding data type attributes
For each element type in an entity definition, the data model supports attributes that are
specific to that element type. For example, all <column> elements have the
same set of attributes. All <typekey> elements have the same set of
attributes, but that set is not the same as the set that <column> elements
have. You override those attributes by using the Override command. Besides the standard set of attributes on a column, the data
model supports data type attributes on a column. These attributes are different for each
supported column data type. You override these attributes by using nested columnParam subelements in the column-override element.
TaxID column in Contact.eti with the following
attributes:| Attribute name | Attribute value |
|---|---|
| name | TaxID |
| type | ssn |
| desc | Tax ID for the contact (SSN or EIN). |
| createhistogram | true |
| default | |
| nullok | true |
| supportsLinguisticSearch | false |
Contact extension in the
Contact.etx file. Use the command to set the encryption parameter on the column:| Attribute name for the column parameter | Attribute value |
|---|---|
| name | encryption |
| value | true |
See also
- See <columnParam> subelement for a description of the
<columnParam>element and the available column parameters for each data type.
Override a column attribute
The entity editor in Guidewire Studio supports changing attributes of columns in an entity type.
About this task
Name column on the Document entity
type.Procedure
- Open Guidewire Studio.
- Navigate to .
- Double-click Document.
- In the Primary Value column, right-click Name, and then click Override.
- For the desc attribute, in the Value field, type a new value.
-
Stop and restart the application server.
The application server recognizes that there are changes to the data model and runs the upgrade utility on start up.
Override an array attribute
The entity editor in Guidewire Studio supports changing attributes of arrays in an entity type.
About this task
Procedure
- Open Guidewire Studio.
- Navigate to .
- Double-click Account.
- In the Primary Value column, right-click RoleAssignments, and then click Override.
- For the triggersValidation attribute, in the Value field, type or choose false.
-
Stop and restart the application server.
The application server recognizes that there are changes to the data model and runs the upgrade utility on start up.
Results
RoleAssignments
array.