ca.infoway.messagebuilder.domainvalue.payload
Class QueryResponse

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

public class QueryResponse
extends EnumPattern
implements QueryResponse

The Enum QueryResponse. Values in this domain allow a query response system to return a precise response status.

See Also:
Serialized Form

Field Summary
static QueryResponse APPLICATION_ERROR
           
static QueryResponse DATA_FOUND
           
static QueryResponse NO_DATA_FOUND
           
static QueryResponse QUERY_PARAMETER_ERROR
           
 
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.
 boolean isError()
          Checks if is error.
 
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

APPLICATION_ERROR

public static final QueryResponse APPLICATION_ERROR

NO_DATA_FOUND

public static final QueryResponse NO_DATA_FOUND

DATA_FOUND

public static final QueryResponse DATA_FOUND

QUERY_PARAMETER_ERROR

public static final QueryResponse QUERY_PARAMETER_ERROR
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

isError

public boolean isError()

Checks if is error.

Returns:
true, if is error


Copyright © 2013. All Rights Reserved.