com.ail.insurance.policy
Class AssessmentNote

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

public class AssessmentNote
extends AssessmentLine

Any number of assessment notes may be added to an assessment sheet. Notes have no effect on the assessment or calculation process, they simply provide a place for rules (or other actors) to include some textual information into the assessment sheet.

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
AssessmentNote()
          Default constructor
AssessmentNote(java.lang.String id, java.lang.String reason, Reference relatedTo)
          Constructor
AssessmentNote(java.lang.String id, java.lang.String reason, Reference relatedTo, int priority)
          Constructor
 
Method Summary
 
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

AssessmentNote

public AssessmentNote()
Default constructor


AssessmentNote

public AssessmentNote(java.lang.String id,
                      java.lang.String reason,
                      Reference relatedTo)
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.

AssessmentNote

public AssessmentNote(java.lang.String id,
                      java.lang.String reason,
                      Reference relatedTo,
                      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.
priority - The priority of this line (lines with higher priority values are processed first)