public class HomeHealthEvent extends java.util.EventObject implements HomeHealthEventIF
EVENT_ID_SCORING_EXCEPTION, EVENT_ID_SCORING_FINISHED, EVENT_ID_SCORING_GENERAL, EVENT_ID_SCORING_INCREASED, EVENT_ID_SCORING_SECTION_FINISHED, EVENT_ID_SCORING_SECTION_STARTING, EVENT_ID_SCORING_STARTING, EVENT_ID_SCORING_WARNING, EVENT_ID_VALIDATION_ISSUE
Constructor and Description |
---|
HomeHealthEvent(HomeHealthGrouperIF source)
Constructor with the basic information of the Home Health Grouper as
the source object
|
HomeHealthEvent(int eventId,
HomeHealthGrouperIF source,
HomeHealthRecordIF record,
java.lang.String message,
HomeHealthScoringModelIF model)
Constructor with all the required information in one call
|
Modifier and Type | Method and Description |
---|---|
int |
getEventId()
get the event id
|
java.lang.Exception |
getException()
gets any Exception generated, if any
|
HomeHealthGrouperIF |
getGrouper()
The Home Health Grouper that cause the event
|
java.lang.String |
getMessage()
gets the message
|
HomeHealthScoringModelIF |
getModel()
gets the scoring model, if any
|
HomeHealthRecordIF |
getRecord()
gets the related Home Health Record, if any
|
void |
setEventId(int eventId)
Sets the event id
|
void |
setException(java.lang.Exception exception)
Sets the Exceptoin
|
void |
setMessage(java.lang.String message)
sets the message
|
void |
setModel(HomeHealthScoringModelIF model)
sets the scoring model
|
void |
setRecord(HomeHealthRecordIF record)
Sets the Home Health record
|
java.lang.String |
toString()
A formatted String
|
public HomeHealthEvent(int eventId, HomeHealthGrouperIF source, HomeHealthRecordIF record, java.lang.String message, HomeHealthScoringModelIF model)
eventId
- source
- record
- message
- model
- public HomeHealthEvent(HomeHealthGrouperIF source)
source
- public java.lang.String getMessage()
getMessage
in interface HomeHealthEventIF
public void setMessage(java.lang.String message)
setMessage
in interface HomeHealthEventIF
message
- public HomeHealthScoringModelIF getModel()
getModel
in interface HomeHealthEventIF
public void setModel(HomeHealthScoringModelIF model)
setModel
in interface HomeHealthEventIF
model
- public HomeHealthRecordIF getRecord()
getRecord
in interface HomeHealthEventIF
public void setRecord(HomeHealthRecordIF record)
setRecord
in interface HomeHealthEventIF
record
- public int getEventId()
getEventId
in interface HomeHealthEventIF
public void setEventId(int eventId)
setEventId
in interface HomeHealthEventIF
eventId
- public java.lang.Exception getException()
getException
in interface HomeHealthEventIF
public void setException(java.lang.Exception exception)
setException
in interface HomeHealthEventIF
exception
- public HomeHealthGrouperIF getGrouper()
getGrouper
in interface HomeHealthEventIF
public java.lang.String toString()
toString
in class java.util.EventObject