code: public FaxJobPriority getPriority()
      {
          int priority=Job.PRIORITY_NORMAL;
          try
          {
              priority=this.JOB.getPriority();
          }
          catch(Exception exception)
          {
              throw new FaxException("Error while extracting job priority.",exception);
          }
  
          FaxJobPriority faxJobPriority=null;
          switch(priority)
          {
              case Job.PRIORITY_HIGH:
                  faxJobPriority=FaxJobPriority.HIGH_PRIORITY;
                  break;
              default:
                  faxJobPriority=FaxJobPriority.MEDIUM_PRIORITY;
                  break;
          }
          
          return faxJobPriority;
      }
docs: This function returns the priority.
  
  @return  The priority