public class HomeHealthEvent extends java.util.EventObject implements HomeHealthEventIF
| Constructor and Description |
|---|
HomeHealthEvent(EventId_EN eventId,
HomeHealthGrouperIF source,
HomeHealthRecordIF record,
java.lang.String message,
HomeHealthScoringModelIF model)
Constructor with all the required information in one call
|
HomeHealthEvent(HomeHealthGrouperIF source)
Constructor with the basic information of the Home Health Grouper as the
source object
|
| Modifier and Type | Method and Description |
|---|---|
EventId_EN |
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(EventId_EN eventId)
Sets the event id
|
void |
setException(java.lang.Exception exception)
Sets the Exception
|
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(EventId_EN 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 HomeHealthEventIFpublic void setMessage(java.lang.String message)
setMessage in interface HomeHealthEventIFmessage - public HomeHealthScoringModelIF getModel()
getModel in interface HomeHealthEventIFpublic void setModel(HomeHealthScoringModelIF model)
setModel in interface HomeHealthEventIFmodel - public HomeHealthRecordIF getRecord()
getRecord in interface HomeHealthEventIFpublic void setRecord(HomeHealthRecordIF record)
setRecord in interface HomeHealthEventIFrecord - public EventId_EN getEventId()
getEventId in interface HomeHealthEventIFpublic void setEventId(EventId_EN eventId)
setEventId in interface HomeHealthEventIFeventId - public java.lang.Exception getException()
getException in interface HomeHealthEventIFpublic void setException(java.lang.Exception exception)
setException in interface HomeHealthEventIFexception - public HomeHealthGrouperIF getGrouper()
getGrouper in interface HomeHealthEventIFpublic java.lang.String toString()
toString in class java.util.EventObject