|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.Type
com.ail.insurance.policy.AssessmentLine
public class AssessmentLine
| Field Summary |
|---|
| Fields inherited from class com.ail.core.Type |
|---|
jXPathContext, NOT_PERSISTED |
| Constructor Summary | |
|---|---|
AssessmentLine()
Default constructor |
|
AssessmentLine(java.lang.String id,
java.lang.String reason,
Reference relatesTo)
Construnctor. |
|
AssessmentLine(java.lang.String id,
java.lang.String reason,
Reference relatesTo,
int priority)
Construnctor |
|
| Method Summary | |
|---|---|
int |
compareTo(AssessmentLine that)
|
int |
getCalculatedOrder()
|
java.lang.String |
getId()
|
java.lang.String |
getOrigin()
Getter returning the value of the origin property. |
int |
getPriority()
The priority of a line affects the order in which it is processed (with respect to other lines) by services. |
java.lang.String |
getReason()
|
Reference |
getRelatesTo()
|
boolean |
isDisabled()
Determine if this line is disabled. |
void |
setCalculatedOrder(int calculatedOrder)
|
void |
setDisabled(boolean disabled)
|
void |
setId(java.lang.String id)
|
void |
setOrigin(java.lang.String origin)
Setter to update the value of the origin property. |
void |
setPriority(int priority)
|
void |
setReason(java.lang.String reason)
|
void |
setRelatesTo(Reference relatesTo)
|
| 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 |
|---|
public AssessmentLine()
public AssessmentLine(java.lang.String id,
java.lang.String reason,
Reference relatesTo)
id - Value for Id property.reason - relatesTo -
public AssessmentLine(java.lang.String id,
java.lang.String reason,
Reference relatesTo,
int priority)
id - Value for Id property.reason - The reason for creating this line.relatesTo - The id of another line that this one relates to.priority - The priority of this line wrt other lines in the same assessment sheet.| Method Detail |
|---|
public java.lang.String getId()
public void setId(java.lang.String id)
public Reference getRelatesTo()
public void setRelatesTo(Reference relatesTo)
public java.lang.String getReason()
public void setReason(java.lang.String reason)
public java.lang.String getOrigin()
public void setOrigin(java.lang.String origin)
origin - New value for the origin propertypublic boolean isDisabled()
public void setDisabled(boolean disabled)
disabled - The disabled to set.isDisabled()public int getPriority()
RefreshAssessmentSheetService)
process all the lines in an assessment sheet. Such services use the priority of the lines to determine the order in
which the lines should be processed.The priority may be any integer value, higher values are processed before lower.
public void setPriority(int priority)
priority - The priority to set.getPriority()public int compareTo(AssessmentLine that)
compareTo in interface java.lang.Comparable<AssessmentLine>public int getCalculatedOrder()
public void setCalculatedOrder(int calculatedOrder)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||