Package ca.uhn.hl7v2.model
Class AbstractSuperMessage
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractGroup
ca.uhn.hl7v2.model.AbstractMessage
ca.uhn.hl7v2.model.AbstractSuperMessage
- All Implemented Interfaces:
Group,Message,Structure,SuperStructure,Visitable,Serializable
Base class for a
SuperStructure message.- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddSuperstructureApplication(String theChild, String theStructure) getName()Returns the name of this structure (e.g.getStructuresWhichChildAppliesTo(String theChildName) voidProvide the name that will be returned bygetName()Methods inherited from class ca.uhn.hl7v2.model.AbstractMessage
accept, copy, encode, fillResponseHeader, generateACK, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParent, getParser, getValidationContext, getVersion, 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, 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.Structure
getMessage, getParentMethods inherited from interface ca.uhn.hl7v2.model.SuperStructure
getChildNamesForStructure, getNonStandardNamesMethods inherited from interface ca.uhn.hl7v2.model.Visitable
accept, isEmpty, provideLocation
-
Constructor Details
-
AbstractSuperMessage
Constructor- Parameters:
theFactory- The model class factory
-
-
Method Details
-
addSuperstructureApplication
-
getName
Returns the name of this structure (e.g. "ADT_A01", or "ORU_R01"). Note that for super structures this value is explicitly set by the parser.- Specified by:
getNamein interfaceStructure- Overrides:
getNamein classAbstractGroup- Returns:
- name of this structure
- See Also:
-
getStructuresWhichChildAppliesTo
- Specified by:
getStructuresWhichChildAppliesToin interfaceSuperStructure
-
setName
Provide the name that will be returned bygetName()
-