ca.infoway.messagebuilder.domainvalue.transport
Class ResponseMode

Package class diagram package ResponseMode
java.lang.Object
  extended by ca.infoway.messagebuilder.lang.Enum
      extended by ca.infoway.messagebuilder.lang.EnumPattern
          extended by ca.infoway.messagebuilder.domainvalue.transport.ResponseMode
All Implemented Interfaces:
Code, Describable, ResponseMode, Serializable, Comparable

public class ResponseMode
extends EnumPattern
implements ResponseMode, Describable

Specifies the mode, immediate versus deferred or queued, by which a receiver should communicate its receiver responsibilities.

See Also:
Serialized Form

Field Summary
static ResponseMode DEFERRED
          The receiver may respond in a non-immediate manner.
static ResponseMode IMMEDIATE
          The receiver is required to assume that the sender is blocking and behave appropriately by sending an immediate response.
static ResponseMode QUEUE
          The receiver shall keep any application responses in a queue until such time as the queue is polled.
 
Fields inherited from class ca.infoway.messagebuilder.lang.Enum
INNER_CLASS_SEPARATOR_CHAR, iToString, PACKAGE_SEPARATOR_CHAR
 
Method Summary
 String getCodeSystem()
          Gets the code system.
 String getCodeValue()
          Gets the code value.
 String getDescription()
          Gets the description.
 
Methods inherited from class ca.infoway.messagebuilder.lang.EnumPattern
getEnumConstants, isEnum, name, toString, valueOf, values
 
Methods inherited from class ca.infoway.messagebuilder.lang.Enum
compareTo, equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, getShortClassName, getShortClassName, hashCode, iterator, readResolve
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFERRED

public static final ResponseMode DEFERRED

The receiver may respond in a non-immediate manner. Note: this will be the default value.


IMMEDIATE

public static final ResponseMode IMMEDIATE

The receiver is required to assume that the sender is blocking and behave appropriately by sending an immediate response.


QUEUE

public static final ResponseMode QUEUE

The receiver shall keep any application responses in a queue until such time as the queue is polled.

Method Detail

getCodeSystem

public String getCodeSystem()

Gets the code system.

Specified by:
getCodeSystem in interface Code
Returns:
the code system

getCodeValue

public String getCodeValue()

Gets the code value.

Specified by:
getCodeValue in interface Code
Returns:
the code value

getDescription

public String getDescription()

Gets the description.

Specified by:
getDescription in interface Describable
Returns:
the description


Copyright © 2013. All Rights Reserved.