public class Disposition extends Disposition
| Constructor and Description |
|---|
Disposition(NotificationType notification)
Initializes an instance with the specified disposition notification type and automatic modes.
|
Disposition(TriggerType triggerType,
SendType sendType,
NotificationType notification)
Initializes an instance with the specified disposition notification type and action and sending modes
|
| Modifier and Type | Method and Description |
|---|---|
NotificationType |
getNotification()
Gets the type of disposition indicated
|
SendType |
getSendType()
Gets the sending type (system or user) that sent this disposition (sending-mode).
|
TriggerType |
getTriggerType()
Gets the trigger action that generated this disposition (action-mode).
|
boolean |
isError()
Indicates if this disposition is an error report.
|
void |
setError(boolean error)
Sets the error status indicating if this disposition is an error report.
|
void |
setNotification(NotificationType notification)
Sets the type of disposition indicated.
|
String |
toString() |
public Disposition(NotificationType notification)
notification - The disposition notification type.public Disposition(TriggerType triggerType, SendType sendType, NotificationType notification)
triggerType - The action (trigger) mode typesendType - The sending mode typenotification - The disposition notification typepublic boolean isError()
public void setError(boolean error)
error - true if this disposition is an error report. false otherwise.public NotificationType getNotification()
public void setNotification(NotificationType notification)
notification - The type of disposition indicated.public TriggerType getTriggerType()
public SendType getSendType()
public String toString()
toString in class DispositionCopyright © 2010-2016 NHIN Direct. All Rights Reserved.