|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.insurance.policy.AssessmentSheetList
public class AssessmentSheetList
This helper class simplifies the process of mapping assessment line ids to the lines themselves.
Each
| Constructor Summary | |
|---|---|
AssessmentSheetList(Policy policy)
|
|
| Method Summary | |
|---|---|
void |
addAssessmentLine(AssessmentLine line,
AssessmentSheet current)
Add an assessment line. |
AssessmentLine |
findAssessmentLine(java.lang.String longId)
Find the assessment line with the long name specified |
AssessmentLine |
findAssessmentLine(java.lang.String id,
AssessmentSheet current)
Find a line by long or short id. |
java.util.Collection<AssessmentSheet> |
getSheets()
Return a collection of sheets. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssessmentSheetList(Policy policy)
| Method Detail |
|---|
public AssessmentLine findAssessmentLine(java.lang.String longId)
longId -
public AssessmentLine findAssessmentLine(java.lang.String id,
AssessmentSheet current)
id - Line Id to search for.current - Current assessment sheet - used if id is a short name.
public void addAssessmentLine(AssessmentLine line,
AssessmentSheet current)
throws java.lang.IllegalArgumentException
line - Line to be adddedcurrent - Current assessment sheet.
java.lang.IllegalArgumentException - If the name is in long form, and a sheet by the name cannot be found.public java.util.Collection<AssessmentSheet> getSheets()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||