|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.rfid.premises.app.entities.AbstractXmlObject
com.ibm.rfid.premises.app.entities.supplychain.printing.LabelPrint
public class LabelPrint
A LabelPrint is an object that is held within a PrintDetails object to hold all of the details of a print job submission.
PrintDetails
,
LabelList
Field Summary | |
---|---|
static java.lang.String |
LABEL_PRINT
xml tag name used to describe LabelPrint object |
static java.lang.String |
PRINT_MODE_NORMAL
represents the correct print mode String for a "normal" print job (default) |
static java.lang.String |
PRINT_MODE_REPRINT
represents the correct print mode String for a "reprint" print job |
static java.lang.String |
PRINT_MODE_TEST
represents the correct print mode String for a "test" print job |
Fields inherited from class com.ibm.rfid.premises.app.entities.AbstractXmlObject |
---|
attributes_, EQ, GT, LT, QUOTE, SLASH, tagName_, XML_START |
Constructor Summary | |
---|---|
LabelPrint()
base constructor, creates empty LabelPrint |
|
LabelPrint(java.lang.String xml)
Creates a LabelPrint based on the specified XML string |
Method Summary | |
---|---|
java.lang.String |
getBusinessRefId()
Gets the business reference ID |
java.lang.String |
getDescription()
Gets the description |
LabelList |
getLabelList()
Gets the LabelList |
java.lang.String |
getPrinterName()
Gets the printer name |
java.lang.String |
getPrintMode()
returns the print mode for this label printing. |
java.lang.String |
getProfileName()
Gets the profile name |
void |
setBusinessRefId(java.lang.String s)
Sets the business reference ID |
void |
setDescription(java.lang.String s)
Sets the description |
void |
setLabelList(LabelList labelList)
Sets the LabelList |
void |
setPrinterName(java.lang.String s)
Sets the printer name |
void |
setPrintMode(java.lang.String s)
sets the print mode for this label printing. |
void |
setProfileName(java.lang.String s)
Sets the profile name |
java.lang.String |
toXmlString(boolean isTop)
Converts the object to XML |
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 |
---|
public static final java.lang.String LABEL_PRINT
toXmlString(boolean)
,
Constant Field Valuespublic static final java.lang.String PRINT_MODE_NORMAL
public static final java.lang.String PRINT_MODE_REPRINT
public static final java.lang.String PRINT_MODE_TEST
Constructor Detail |
---|
public LabelPrint()
public LabelPrint(java.lang.String xml) throws XmlConvertException
xml
-
XmlConvertException
Method Detail |
---|
public void setPrintMode(java.lang.String s)
s
- print modePRINT_MODE_NORMAL
,
PRINT_MODE_REPRINT
,
PRINT_MODE_TEST
public java.lang.String getPrintMode()
PRINT_MODE_NORMAL
,
PRINT_MODE_REPRINT
,
PRINT_MODE_TEST
public void setBusinessRefId(java.lang.String s)
s
- business reference IDpublic java.lang.String getBusinessRefId()
public void setDescription(java.lang.String s)
s
- descriptionpublic java.lang.String getDescription()
public void setPrinterName(java.lang.String s)
s
- printer namepublic java.lang.String getPrinterName()
public void setProfileName(java.lang.String s)
s
- profile namepublic java.lang.String getProfileName()
public LabelList getLabelList()
public void setLabelList(LabelList labelList)
labelList
- public java.lang.String toXmlString(boolean isTop)
toXmlString
in class AbstractXmlObject
isTop
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |