Class Hl7v2Based.Holder<T extends ca.uhn.hl7v2.model.Type>
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based.Holder<T>
- All Implemented Interfaces:
ca.uhn.hl7v2.model.Composite,ca.uhn.hl7v2.model.Type,ca.uhn.hl7v2.model.Visitable,Serializable
- Enclosing class:
- Hl7v2Based<C extends ca.uhn.hl7v2.model.Composite>
public static class Hl7v2Based.Holder<T extends ca.uhn.hl7v2.model.Type>
extends ca.uhn.hl7v2.model.AbstractType
implements ca.uhn.hl7v2.model.Composite
Fake enclosing element for an HL7 v2 sub-component, necessary for correct rendering and parsing.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(ca.uhn.hl7v2.model.MessageVisitor visitor, ca.uhn.hl7v2.Location currentLocation) ca.uhn.hl7v2.model.TypegetComponent(int number) ca.uhn.hl7v2.model.Type[]Methods inherited from class ca.uhn.hl7v2.model.AbstractType
clear, encode, getExtraComponents, getMessage, getName, isEmpty, parse, provideLocation, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Type
clear, encode, getExtraComponents, getMessage, getName, parseMethods inherited from interface ca.uhn.hl7v2.model.Visitable
isEmpty, provideLocation
-
Constructor Details
-
Holder
-
-
Method Details
-
getInternal
-
getComponents
public ca.uhn.hl7v2.model.Type[] getComponents()- Specified by:
getComponentsin interfaceca.uhn.hl7v2.model.Composite
-
getComponent
public ca.uhn.hl7v2.model.Type getComponent(int number) throws ca.uhn.hl7v2.model.DataTypeException - Specified by:
getComponentin interfaceca.uhn.hl7v2.model.Composite- Throws:
ca.uhn.hl7v2.model.DataTypeException
-
accept
public boolean accept(ca.uhn.hl7v2.model.MessageVisitor visitor, ca.uhn.hl7v2.Location currentLocation) - Specified by:
acceptin interfaceca.uhn.hl7v2.model.Visitable
-