<extension> elements and related data object types

The <extension> XML root element defines extension data object types. An extension data object type extends an already existing data object type or entity. Guidewire defines extensions in data model metadata files.

See also

Attributes of <extension>

The <extension> element contains the following attributes.

<extension>  attribute      

Description

Default

entityName

Required. This value must match the file name of the entity that it extends.

PolicyCenter generates an error at resource verification if the value that you set for the entityName attribute in an extension does not match the file name.

None

Subelements of <extension>

The <extension> element contains the following subelements.

<extension>  subelement 

Description

array

See <array>.

array-override

Use to override, or flip, the value of the triggersValidation attribute of an <array> element definition on a base data object. See Working with attribute and element overrides for details.

column

See <column>.

column-override

Use to override certain very specific attributes of a base data object. See Working with attribute and element overrides for details.

description

A description of the purpose and use of the entity.

edgeForeignKey

See <edgeForeignKey>.

edgeForeignKey-override

Use to override certain very specific attributes of a base data object.

events

See <events>.

foreignkey

See <foreignkey>.

foreignkey-override

Use to override, or flip, the value of the triggersValidation attribute of a <foreignkey> element definition on a base data object. See Working with attribute and element overrides for details.

implementsEntity

See <implementsEntity>.

implementsInterface

See <implementsInterface>.

index

See <index>.

internalonlyfields

Internal.

monetaryamount

Handles monetary amounts. The <monetaryamount> subelement is a compound data type that stores its values in two separate database columns: a <money> column type and a typekey to the Currency typelist.

onetoone

See <onetoone>.

onetoone-override

Use to override, or flip, the value of the triggersValidation attribute of a <onetoone> element definition on a base data object. See Working with attribute and element overrides for details.

remove-index

See <remove-index>.

searchColumn

See <entity> elements and related data object types.

searchTypekey

Defines a search denormalization typekey in the database. The denormalization copies the value of a column on another table into a typekey field on the denormalizing table. You must link the tables through a foreign key. The purpose of this denormalization is to avoid costly joins in performance critical searches.

typekey

See <typekey>.

typekey-override

Use to override certain specific attributes, or fields, of a <typekey> element definition on a base data object. See Working with attribute and element overrides for details.