com.ibm.rfid.premises.app.entities.supplychain.printing
Class PrintJob

java.lang.Object
  extended by com.ibm.rfid.premises.app.entities.AbstractXmlObject
      extended by com.ibm.rfid.premises.app.entities.supplychain.printing.PrintJob

public class PrintJob
extends AbstractXmlObject


Field Summary
static java.lang.String PRINT_JOB
          xml tag name used to describe a PrintJob
 
Fields inherited from class com.ibm.rfid.premises.app.entities.AbstractXmlObject
attributes_, EQ, GT, LT, QUOTE, SLASH, tagName_, XML_START
 
Constructor Summary
PrintJob(java.lang.String xml)
          This constructor is used to create a PrintJob from an xml String.
PrintJob(java.lang.String id, java.lang.String descr)
          This constructor is used internally to return a PrintJob that corresponds to a PrintJob that exists on the IBM WebSphere Sensor Events Server.
 
Method Summary
 java.lang.String getBusinessRefId()
          allows you to get business reference id from PrintJob object
 PrintDetails getPrintDetails()
          Gets the PrintDetails object used to submit the original print job
 java.lang.String getPrintJobDescription()
          Gets the print job description
 java.lang.String getPrintJobId()
          Gets the print job ID
 java.lang.String getPrintJobStatus()
           
 java.lang.String toXmlString(boolean isTop)
          (non-Javadoc)
 
Methods inherited from class com.ibm.rfid.premises.app.entities.AbstractXmlObject
getEndTag, getNodeListFromString, getStartTag, getStringFromElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRINT_JOB

public static final java.lang.String PRINT_JOB
xml tag name used to describe a PrintJob

See Also:
toXmlString(boolean), Constant Field Values
Constructor Detail

PrintJob

public PrintJob(java.lang.String id,
                java.lang.String descr)
This constructor is used internally to return a PrintJob that corresponds to a PrintJob that exists on the IBM WebSphere Sensor Events Server. You will generally not ever use this.

Parameters:
id - print job id
descr - print job description

PrintJob

public PrintJob(java.lang.String xml)
This constructor is used to create a PrintJob from an xml String.

Parameters:
xml - String representing a PrintJob.
Method Detail

getPrintJobStatus

public java.lang.String getPrintJobStatus()
                                   throws PremisesAccessException
Throws:
PremisesAccessException

getPrintJobId

public java.lang.String getPrintJobId()
Gets the print job ID

Returns:
print job ID

getPrintJobDescription

public java.lang.String getPrintJobDescription()
Gets the print job description

Returns:
print job description

getPrintDetails

public PrintDetails getPrintDetails()
                             throws PremisesAccessException
Gets the PrintDetails object used to submit the original print job

Returns:
the PrintDetails object used to submit the original print job to the IBM WebSphere Sensor Events Server.
Throws:
PremisesAccessException

getBusinessRefId

public java.lang.String getBusinessRefId()
                                  throws PremisesAccessException
allows you to get business reference id from PrintJob object

Returns:
business reference id
Throws:
PremisesAccessException

toXmlString

public java.lang.String toXmlString(boolean isTop)
(non-Javadoc)

Specified by:
toXmlString in class AbstractXmlObject
Parameters:
isTop - decides whether or not the XML_START field is appended to the output of this method. Should be true if this AbstractXmlObject is the root element.
Returns:
an XML String representing this AbstractXmlObject.
See Also:
AbstractXmlObject.toXmlString(boolean)


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.