Class CM_JOB_CODE

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CM_JOB_CODE extends AbstractComposite

Represents an HL7 CM_JOB_CODE (Berufsbezeichnung) data type. This type consists of the following components:

  • job code (ID)
  • employee classification (ID)
See Also:
  • Constructor Details

  • 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 ID getJobCode()
      Returns job code (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getCm_job_code1_JobCode

      Returns job code (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getEmployeeClassification

      Returns employee classification (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getCm_job_code2_EmployeeClassification

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