Package ca.uhn.hl7v2.model.v22.message
Class ACK
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractGroup
ca.uhn.hl7v2.model.AbstractMessage
ca.uhn.hl7v2.model.v22.message.ACK
- All Implemented Interfaces:
Group,Message,Structure,Visitable,Serializable
Represents a ACK message structure. This structure contains the following elements:
- 1: MSH (MESSAGE HEADER)
- 2: MSA (MESSAGE ACKNOWLEDGMENT)
- 3: ERR (ERROR) optional
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
ConstructorsConstructorDescriptionACK()Creates a new ACK message with DefaultModelClassFactory.ACK(ModelClassFactory factory) Creates a new ACK message with custom ModelClassFactory. -
Method Summary
Methods inherited from class ca.uhn.hl7v2.model.AbstractMessage
accept, copy, encode, fillResponseHeader, generateACK, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParent, getParser, getValidationContext, initQuickstart, parse, printStructure, printStructure, setParser, toStringMethods inherited from class ca.uhn.hl7v2.model.AbstractGroup
add, add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getName, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insert, insertRepetition, insertRepetition, isChoiceElement, isEmpty, isGroup, isRepeating, isRequired, provideLocation, removeRepetition, tryToInstantiateStructure, visitNestedStructuresMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Group
addNonstandardSegment, addNonstandardSegment, get, get, getAll, getClass, getNames, isChoiceElement, isGroup, isRepeating, isRequiredMethods inherited from interface ca.uhn.hl7v2.model.Visitable
isEmpty, provideLocation
-
Constructor Details
-
ACK
public ACK()Creates a new ACK message with DefaultModelClassFactory. -
ACK
Creates a new ACK message with custom ModelClassFactory.
-
-
Method Details
-
getVersion
Returns "2.2"- Specified by:
getVersionin interfaceMessage- Overrides:
getVersionin classAbstractMessage
-
getMSH
Returns MSH (MESSAGE HEADER) - creates it if necessary
-
getMSA
Returns MSA (MESSAGE ACKNOWLEDGMENT) - creates it if necessary
-
getERR
Returns ERR (ERROR) - creates it if necessary
-