Class WVS

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class WVS extends AbstractComposite

Represents an HL7 WVS (waveform source) data type. This type consists of the following components:

  • source name 1 (ST)
  • source name 2 (ST)
See Also:
  • Constructor Details

    • WVS

      public WVS(Message message)
      Creates a new WVS type
  • Method Details

    • getComponents

      public Type[] getComponents()
      Returns an array containing the data elements.
    • getComponent

      public Type getComponent(int number) throws DataTypeException
      Returns an individual data component.
      Parameters:
      number - The component number (0-indexed)
      Throws:
      DataTypeException - if the given element number is out of range.
    • getSourceName1

      public ST getSourceName1()
      Returns source name 1 (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getWvs1_SourceName1

      Returns source name 1 (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getSourceName2

      public ST getSourceName2()
      Returns source name 2 (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getWvs2_SourceName2

      Returns source name 2 (component 2). This is a convenience method that saves you from casting and handling an exception.