public class PrintTalk extends AbstractPrintTalk
| Modifier and Type | Class and Description |
|---|---|
static class |
PrintTalk.EnumBusinessObject
business object types
|
static class |
PrintTalk.Header
types of printtalk header
|
| Modifier and Type | Field and Description |
|---|---|
static String |
MIME_PRINT_TALK |
static String |
PRINT_TALK |
ATTR_JOBIDREF, log, theElement| Constructor and Description |
|---|
PrintTalk()
create a new printtalk helper
|
PrintTalk(org.cip4.jdflib.core.KElement theElement)
create a printtalk helper
|
| Modifier and Type | Method and Description |
|---|---|
BusinessObject |
appendRequest(PrintTalk.EnumBusinessObject bo,
PrintTalk ref)
appends a request with an initialized Business Object
|
BusinessObject |
getBusinessObject()
get the business object from a request
|
HeaderBase |
getHeader(HeaderBase.EnumHeaderType headerType)
get the business object from a request
|
String |
getNamespaceURI()
get the correct namespace uri string
|
static String |
getNamespaceURI(int version)
get the correct namespace uri string
|
PrintTalk |
getPrintTalk()
get the root element
|
static PrintTalk |
getPrintTalk(org.cip4.jdflib.core.KElement theElement)
return the PrintTalk element for theElement id TheElement is a printtalk element
|
BusinessObject |
getRequest()
get the business object from a request
|
org.cip4.jdflib.util.JDFDate |
getTimestamp()
Getter for Timestamp attribute.
|
int |
getVersion()
Getter for version attribute.
|
void |
init()
initialize a new printtalk
|
void |
setHeader(PrintTalk.Header header,
String name,
String value)
set a new header value
|
void |
setVersion(int version)
Setter for version attribute.
|
appendElement, equals, getAttribute, getAttribute, getCreateElement, getCreateXPathElement, getDescriptiveName, getElement, getElement, getElements, getRoot, getTElem, getXPathAttribute, getXPathElement, hashCode, setAttribute, setDescriptiveName, setRoot, setTElem, setXPathAttribute, setXPathValue, toStringpublic static final String PRINT_TALK
public static final String MIME_PRINT_TALK
public PrintTalk(org.cip4.jdflib.core.KElement theElement)
theElement - public PrintTalk()
public static PrintTalk getPrintTalk(org.cip4.jdflib.core.KElement theElement)
theElement - public static String getNamespaceURI(int version)
version - 10=1.0 etcpublic String getNamespaceURI()
public void init()
init in class AbstractPrintTalkpublic void setHeader(PrintTalk.Header header, String name, String value)
header - type of headername - domain namevalue - Identity valuepublic void setVersion(int version)
version - the version to setpublic int getVersion()
public org.cip4.jdflib.util.JDFDate getTimestamp()
public BusinessObject appendRequest(PrintTalk.EnumBusinessObject bo, PrintTalk ref) throws IllegalArgumentException
bo - the business object typeref - the printtalk object that this referencesIllegalArgumentException - if bo already existspublic BusinessObject getRequest()
public BusinessObject getBusinessObject()
public HeaderBase getHeader(HeaderBase.EnumHeaderType headerType)
headerType - public PrintTalk getPrintTalk()
AbstractPrintTalkgetPrintTalk in class AbstractPrintTalkAbstractPrintTalk.getPrintTalk()Copyright © 2013. All Rights Reserved.