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
    Constructor
    Description
    Holder(T t)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(ca.uhn.hl7v2.model.MessageVisitor visitor, ca.uhn.hl7v2.Location currentLocation)
     
    ca.uhn.hl7v2.model.Type
    getComponent(int number)
     
    ca.uhn.hl7v2.model.Type[]
     
     

    Methods inherited from class ca.uhn.hl7v2.model.AbstractType

    clear, encode, getExtraComponents, getMessage, getName, isEmpty, parse, provideLocation, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface ca.uhn.hl7v2.model.Type

    clear, encode, getExtraComponents, getMessage, getName, parse

    Methods inherited from interface ca.uhn.hl7v2.model.Visitable

    isEmpty, provideLocation
  • Constructor Details

    • Holder

      public Holder(T t)
  • Method Details

    • getInternal

      public T getInternal()
    • getComponents

      public ca.uhn.hl7v2.model.Type[] getComponents()
      Specified by:
      getComponents in interface ca.uhn.hl7v2.model.Composite
    • getComponent

      public ca.uhn.hl7v2.model.Type getComponent(int number) throws ca.uhn.hl7v2.model.DataTypeException
      Specified by:
      getComponent in interface ca.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:
      accept in interface ca.uhn.hl7v2.model.Visitable