Class SCV

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class SCV extends AbstractComposite

Represents an HL7 SCV (scheduling class value pair) data type. This type consists of the following components:

  • parameter class (IS)
  • parameter value (ST)
See Also:
  • Constructor Details

    • SCV

      public SCV(Message message)
      Creates a new SCV 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.
    • getParameterClass

      Returns parameter class (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getScv1_ParameterClass

      Returns parameter class (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getParameterValue

      Returns parameter value (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getScv2_ParameterValue

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