com.mmm.cms.homehealth.proto
Interface HomeHealthEventIF

All Known Implementing Classes:
HomeHealthEvent

public interface HomeHealthEventIF

Describes the Home Health Event used for notifiy programmatic listeners during the scoring process.


Field Summary
static int EVENT_ID_SCORING_EXCEPTION
          Event Id for scoring Exception
static int EVENT_ID_SCORING_FINISHED
          Event Id for scoring finished
static int EVENT_ID_SCORING_GENERAL
          Event Id for scoring general informational event
static int EVENT_ID_SCORING_INCREASED
          Event Id for scoring increased
static int EVENT_ID_SCORING_SECTION_FINISHED
          Event Id for scoring has finished a section
static int EVENT_ID_SCORING_SECTION_STARTING
          Event Id for scoring has started a section
static int EVENT_ID_SCORING_STARTING
          Event Id for scoring has started
static int EVENT_ID_SCORING_WARNING
          Event Id for scoring general warning during procesing
static int EVENT_ID_VALIDATION_ISSUE
          Event Id for validation issues
 
Method Summary
 int getEventId()
          gets the event id
 java.lang.Exception getException()
          gets the associated Exception, if any
 HomeHealthGrouperIF getGrouper()
           
 java.lang.String getMessage()
          gets the message describing the event
 HomeHealthScoringModelIF getModel()
          gets the scoring model, if any that caused the event
 HomeHealthRecordIF getRecord()
          gets the record associated with the event
 void setEventId(int 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
 

Field Detail

EVENT_ID_SCORING_EXCEPTION

static final int EVENT_ID_SCORING_EXCEPTION
Event Id for scoring Exception

See Also:
Constant Field Values

EVENT_ID_SCORING_FINISHED

static final int EVENT_ID_SCORING_FINISHED
Event Id for scoring finished

See Also:
Constant Field Values

EVENT_ID_SCORING_GENERAL

static final int EVENT_ID_SCORING_GENERAL
Event Id for scoring general informational event

See Also:
Constant Field Values

EVENT_ID_SCORING_INCREASED

static final int EVENT_ID_SCORING_INCREASED
Event Id for scoring increased

See Also:
Constant Field Values

EVENT_ID_SCORING_SECTION_FINISHED

static final int EVENT_ID_SCORING_SECTION_FINISHED
Event Id for scoring has finished a section

See Also:
Constant Field Values

EVENT_ID_SCORING_SECTION_STARTING

static final int EVENT_ID_SCORING_SECTION_STARTING
Event Id for scoring has started a section

See Also:
Constant Field Values

EVENT_ID_SCORING_STARTING

static final int EVENT_ID_SCORING_STARTING
Event Id for scoring has started

See Also:
Constant Field Values

EVENT_ID_SCORING_WARNING

static final int EVENT_ID_SCORING_WARNING
Event Id for scoring general warning during procesing

See Also:
Constant Field Values

EVENT_ID_VALIDATION_ISSUE

static final int EVENT_ID_VALIDATION_ISSUE
Event Id for validation issues

See Also:
Constant Field Values
Method Detail

getGrouper

HomeHealthGrouperIF getGrouper()
Returns:
The Grouper associated with event

getEventId

int getEventId()
gets the event id

Returns:
the event id

getException

java.lang.Exception getException()
gets the associated Exception, if any

Returns:
the Exception associated with the event, or null if no Exception occurred

getMessage

java.lang.String getMessage()
gets the message describing the event

Returns:
Message - should not be null

getModel

HomeHealthScoringModelIF getModel()
gets the scoring model, if any that caused the event

Returns:
the scoring model associated with the event, or null if no scoring model was involved

getRecord

HomeHealthRecordIF getRecord()
gets the record associated with the event

Returns:
the Home Health record being processed at the time of the event

setEventId

void setEventId(int eventId)
Sets the event id

Parameters:
eventId -

setException

void setException(java.lang.Exception exception)
Sets the Exception

Parameters:
exception -

setMessage

void setMessage(java.lang.String message)
Sets the message

Parameters:
message -

setModel

void setModel(HomeHealthScoringModelIF model)
Sets the scoring model

Parameters:
model -

setRecord

void setRecord(HomeHealthRecordIF record)
Sets the Home Health record

Parameters:
record -