Create a service state entity in ClaimCenter
Part of extending contacts with an array is to create the ClaimCenter entity that will be in the array.
Before you begin
About this task
Create an entity that is the ClaimCenter counterpart of the ContactManager
ContactServiceState entity.
Procedure
-
If necessary, start Guidewire Studio™ for ClaimCenter.
At a command prompt, navigate to the ClaimCenter installation folder and enter the following command:
gwb studio - In the Project window, navigate to .
- Right-click Entity and choose .
- Enter the following file name: ContactServiceState
-
Enter the following for Desc:
Represents a state where the contact provides services
- Select Extendable and Final.
- Click OK.
- In the editor, click entity at the top of the Element hierarchy
-
Click the drop-down list for
and choose implementsEntity, and then choose
Extractable from the
drop-down list for the name value.
- Repeat the two previous steps, but use them to create implementsEntity elements named OverlapTable and AddressBookLinkable.
- Click entity at the top of the Element hierarchy.
-
Click the drop-down list next to
and choose foreignKey, and then enter the
following values:
Name Value name Contact fkentity Contact nullok false columnName ContactID desc Contact that this Service State row relates to - Click entity at the top of the Element hierarchy.
-
Click the drop-down list next to
and choose typekey, and then enter the
following values:
Name Value name ServiceState nullok false typelist State desc State serviced by the contact loadable true (default value) -
Click entity at the top
of the Element hierarchy,
and then click the drop-down list next to
and choose index.
-
Enter the following values for the new index:
Name Value name ind1 unique true -
Right-click the ind1 index in the Element column, and choose .
This index column is the first of three to add to the index.
-
Enter the following values for the new
indexcol:Name Value name ServiceState keyposition 1 - Right-click the ind1 index in the Element column, and choose .
-
Enter the following values for the new
indexcol:Name Value name Retired keyposition 2 - Right-click the ind1 index in the Element column, and choose .
-
Enter the following values for the new
indexcol:Name Value name ContactID keyposition 3 - Click entity at the top of the Element hierarchy.
-
Click the drop-down list next to
and choose index.
-
Enter the following values for the new index:
Name Value name ind2 unique true -
Right-click the ind2 index in the Element column, and choose .
This index column is the first of three to add to the index.
-
Enter the following values for the new
indexcol:Name Value name ContactID keyposition 1 - Right-click the ind2 index in the Element column, and choose .
-
Enter the following values for the new
indexcol:Name Value name Retired keyposition 2 - Right-click the ind2 index in the Element column, and choose .
-
Enter the following values for the new
indexcol:Name Value name ServiceState keyposition 3
