Revisioning properties reference
This topic includes revisioning properties reference information.
Revisioning properties on a policy
The policy entity Policy is an important entity
within PolicyCenter. A policy conceptually serves as a container of contractual
periods. From a data model perspective, a policy serves as a container
for all versions of its PolicyPeriod
entities, which is a container for its revisioned subobjects.
The following table lists important revisioning properties on a Policy entity instance:
Property |
Type |
Description |
|---|---|---|
|
|
An array of all
You typically do not access this property directly.
This property contains much data that must be filtered in typical use.
Instead, use the |
|
|
An array of all bound
You typically do not access this property directly because it contains too much data that must be filtered in typical use. Instead, query to find only the branch you need, such as only the most recent bound branch. |
Revisioning properties on a policy period
A policy revision at one point in model time
is represented by the PolicyPeriod
entity instance. It is the root of a graph of revisioned entities, collectively
the PolicyPeriod and its
subobjects are referred to as a branch.
The following table lists important revisioning-related properties:
Property |
Type |
Meaning |
|---|---|---|
|
|
Date the branch becomes effective. All entities within the branch's graph must have effective and expiration dates on or after this date. |
|
|
Date the period expires. All entities within the branch's graph must have effective and expiration dates on or before this date. |
|
|
The slice date is
the current view, or slice, of the branch (and its entities) in effective
time. If the slice date is Note: PolicyCenter never persists the slice date value itself in the
database. The slice date property exists as a special property
on the in-memory entity instance that Gosu can access. |
|
|
If true, this |
|
|
If true, this |
|
|
On promotion, the model date is set to the current real world date and time. This is a read-only property. |
|
|
On promotion, a branch is assigned a new model number, one greater than the previously most recently promoted branch on its period. This is a read-only property. In contrast, term number, starts with 1 and increments by 1 only for renewals or rewrites. |
|
|
The number indicates the term of the policy period, starts with 1 and then increments by 1 for every renewal or rewrite. The built-in PolicyCenter integration with BillingCenter uses the term number instead of the model number to identify a policy. |
|
|
Indicates that this
Technically, this flag is redundant with checking
for the highest model number ( |
|
|
All branches in the same period share the same |
|
|
The branch ID of the
branch this revision was based on. For a standard policy change or renewal,
this value is straighforward. However, if a job was preempted by an earlier
bound job and it is handled, PolicyCenter creates a new branch. Next,
PolicyCenter sets the |
|
|
This is the Note: From Gosu, the foreign key property appears as the
BranchValue property, although the database
column name is BranchID. If you use the query
builder APIs, specify this property as
BranchValue. For more information, see the
BranchValue row in the table in Revisioning properties on PolicyPeriod subobjects |
|
|
Indicates that a |
Revisioning properties on PolicyPeriod subobjects
Each PolicyPeriod entity instance represents the root of a graph of revisioned entities at a specific model time. Each subobject contains various properties linking the object to:
- its containing PolicyPeriod entity instance
- multiple versions of this object across branches
- multiple versions of this object in the same branch across effective time.
Each PolicyPeriod
subobject belongs to one and only one PolicyPeriod
and every subobject must have a non-null FixedID and BranchValue property.
The following table lists important properties related to revisioning on
PolicyPeriod subobjects:
Property |
Type |
Meaning |
|---|---|---|
|
|
Date the entity instance
becomes effective. If |
|
|
Date the entity instance
expires (is no longer effective). If |
|
|
Identifies a single object across contractual policy periods, both:
This value must be non-null. |
|
|
Note: At the database layer, BranchValue is the
BranchID column.Foreign key to the PolicyPeriod entity instance that contains this entity
instance. Within the same branch, all entities must share the
same From Gosu, the foreign key property appears
as the If you use the query builder APIs, specify
this property as
In contrast, when writing upgrade triggers and version checks, you typically want the actual column name:
Note:
Do not confuse |
|
SOURCETYPE For example, for a PersonalVehicle entity instance,
its |
Contains a version list, which allows you to access properties with array data across effective time in window mode. For more details, see Slice mode and window mode overview. |
|
|
The internal ID of
the entity instance of this type that this entity instance was based
on. For a standard policy change or renewal, this value is straightforward.
However, if a job was preempted by an earlier bound job, PolicyCenter
creates a new branch based on the most recent bound branch to handle
the preemption. PolicyCenter discards the original branch with the original
|
