Class AbstractStructure

java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
All Implemented Interfaces:
Structure, Visitable, Serializable
Direct Known Subclasses:
AbstractGroup, AbstractSegment

public abstract class AbstractStructure extends Object implements Structure
See Also:
  • Field Details

    • log

      protected static final org.slf4j.Logger log
  • Constructor Details

    • AbstractStructure

      public AbstractStructure(Group parent)
      Abstract group constructor
      Parameters:
      parent - parent group
  • Method Details

    • getMessage

      public Message getMessage()
      Returns the parent group within which this structure exists (may be root message group).
      Specified by:
      getMessage in interface Structure
      Returns:
      message the root message this structure is part of
    • getParent

      public Group getParent()
      Description copied from interface: Structure
      Returns the parent group within which this structure exists (may be root message group).
      Specified by:
      getParent in interface Structure
      Returns:
      parent group of this structure