Property attributes and tags

Property attributes

A property in the PolicyCenter data model can have a number of special attributes assigned to it. These attributes describe the property further. You use the Data Dictionary to see what these are. For example, the Policy entity has a property named Account. The attributes of this property are exportable, non-null, and writable.

The following list describes the possible attributes:

Attribute

Description

database column: [name] The corresponding database column for the property has a name of [name]. This attribute is present if [name] is a name other than the name of the property.
default: [value] This attribute is often present for a property that is associated with a column or a typekey. When the attribute is present, [value] represents the default value for the property.

exportable

Unused.

export as id

Unused.

loadable

The property is loadable by way of the staging tables.

localized The property contains a <localization> subelement. This subelement causes a localization table to be created during the next database upgrade. A localization table stores localized values for a column for every language other than the default application language. See Specifying localized columns in entities.
non-null

The property cannot contain null values.

overwritten on load The property contains an overwrittenInStagingTable attribute with a value of true. PolicyCenter uses the property and a corresponding staging table during the load of staging table data to operational tables. When the overwrittenInStagingTable attribute has a value of true, the loader import process overwrites the staging table corresponding the property. See Staging tables for more information.
triggers validation The property contains a triggersValidation attribute with a value of true. When this scenario exists and an array, a foreign key, or a one-to-one entity on the property changes, PolicyCenter initiates validation on the property. See <array>, <foreignkey>, and <onetoone> for more information about the effects of the triggersValidation attribute when arrays, foreign keys, and one-to-one entities change.

unique index

The property participates in one or more unique indexes.

virtual property

PolicyCenter creates no physical database column for the property.

writable

The user can write the property with Gosu or the IDataObjectAPI interface.

To view the definition of a particular attribute, click the small question mark (?) by the attribute name in the attribute list in the Guidewire Data Dictionary.

Property tags

A property in the PolicyCenter data model can have a number of tags assigned to it. These tags further describe the property.

You use the Data Dictionary to see what these tags are. For example, the Data Dictionary indicates whether the PersonalData obfuscation tag is set on the various fields that use the tag. If the tag has a value, the Data Dictionary indicates this value as well. One such value for the PersonalData tag is ObfuscateDefault.