com.ail.insurance.policy
Class MarkerResolution

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.insurance.policy.AssessmentLine
          extended by com.ail.insurance.policy.MarkerResolution
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<AssessmentLine>

public class MarkerResolution
extends AssessmentLine

An assessment line indicating that a 'Marker' has been resolved. Also know as an override. These are attached to markers (referrals and declines) raised by the system to indicate that they should be ignored when the assessment sheet is processed. Typically the system indicates applies a marker to indicate that the policy should be referred, but an underwriter "resolves" the marker to indicate that he/she is happy for the referral to be ignored.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
MarkerResolution()
          Default constructor
MarkerResolution(java.lang.String id, java.lang.String reason, Reference relatedTo, java.lang.String behaviourId)
          Constructor
MarkerResolution(java.lang.String id, java.lang.String reason, Reference relatedTo, java.lang.String behaviourId, int priority)
          Constructor
 
Method Summary
 java.lang.String getBehaviourId()
           
 void setBehaviourId(java.lang.String behaviourId)
           
 
Methods inherited from class com.ail.insurance.policy.AssessmentLine
compareTo, getCalculatedOrder, getId, getOrigin, getPriority, getReason, getRelatesTo, isDisabled, setCalculatedOrder, setDisabled, setId, setOrigin, setPriority, setReason, setRelatesTo
 
Methods inherited from class com.ail.core.Type
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkerResolution

public MarkerResolution()
Default constructor


MarkerResolution

public MarkerResolution(java.lang.String id,
                        java.lang.String reason,
                        Reference relatedTo,
                        java.lang.String behaviourId)
Constructor

Parameters:
id - The Id for this line.
reason - Free text reson for the marker
relatedTo - Reference to the policy object that caused the marker.
behaviourId - The behaviour created as part of this resolution

MarkerResolution

public MarkerResolution(java.lang.String id,
                        java.lang.String reason,
                        Reference relatedTo,
                        java.lang.String behaviourId,
                        int priority)
Constructor

Parameters:
id - The Id for this line.
reason - Free text reson for the marker
relatedTo - Reference to the policy object that caused the marker.
behaviourId - The behaviour created as part of this resolution
priority - The priority of this line wrt other lines in the same sheet (lines with higher priority values are processed first)
Method Detail

getBehaviourId

public java.lang.String getBehaviourId()

setBehaviourId

public void setBehaviourId(java.lang.String behaviourId)