All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class JCC extends AbstractComposite

Represents an HL7 JCC (Job Code/Class) data type. This type consists of the following components:

  • Job Code (IS)
  • Job Class (IS)
  • Job Description Text (TX)
See Also:
  • Constructor Details

    • JCC

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

      public IS getJobCode()
      Returns Job Code (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getJcc1_JobCode

      public IS getJcc1_JobCode()
      Returns Job Code (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getJobClass

      public IS getJobClass()
      Returns Job Class (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getJcc2_JobClass

      public IS getJcc2_JobClass()
      Returns Job Class (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getJobDescriptionText

      Returns Job Description Text (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getJcc3_JobDescriptionText

      Returns Job Description Text (component 3). This is a convenience method that saves you from casting and handling an exception.