public static class MessageHeader.Response extends BaseIdentifiableElement implements IResourceBlock
Definition: Information about the message that this message is a response to. Only present if this message is a response.
| Constructor and Description |
|---|
MessageHeader.Response() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
BoundCodeDt<ResponseTypeEnum> |
getCode()
Gets the value(s) for code (ok | transient-error | fatal-error).
|
ResourceReferenceDt |
getDetails()
Gets the value(s) for details (Specific list of hints/warnings/errors).
|
IdDt |
getIdentifier()
Gets the value(s) for identifier (Id of original message).
|
boolean |
isEmpty() |
MessageHeader.Response |
setCode(BoundCodeDt<ResponseTypeEnum> theValue)
Sets the value(s) for code (ok | transient-error | fatal-error)
|
MessageHeader.Response |
setCode(ResponseTypeEnum theValue)
Sets the value(s) for code (ok | transient-error | fatal-error)
|
MessageHeader.Response |
setDetails(ResourceReferenceDt theValue)
Sets the value(s) for details (Specific list of hints/warnings/errors)
|
MessageHeader.Response |
setIdentifier(IdDt theValue)
Sets the value(s) for identifier (Id of original message)
|
MessageHeader.Response |
setIdentifier(String theId)
Sets the value for identifier (Id of original message)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic IdDt getIdentifier()
null.
Definition: The id of the message that this message is a response to
public MessageHeader.Response setIdentifier(IdDt theValue)
Definition: The id of the message that this message is a response to
public MessageHeader.Response setIdentifier(String theId)
Definition: The id of the message that this message is a response to
public BoundCodeDt<ResponseTypeEnum> getCode()
null.
Definition: Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not
public MessageHeader.Response setCode(BoundCodeDt<ResponseTypeEnum> theValue)
Definition: Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not
public MessageHeader.Response setCode(ResponseTypeEnum theValue)
Definition: Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not
public ResourceReferenceDt getDetails()
null.
Definition: Full details of any issues found in the message
public MessageHeader.Response setDetails(ResourceReferenceDt theValue)
Definition: Full details of any issues found in the message
Copyright © 2014 University Health Network. All rights reserved.