| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAMESPACE |
bizMsgIdr, bizPrcgDt, bizSvc, charSet, cpyDplct, creDt, fr, mktPrctc, msgDefIdr, prty, pssblDplct, rltd, sgntr, toHEADER_LOCALNAME| Constructor and Description |
|---|
BusinessAppHdrV03() |
| Modifier and Type | Method and Description |
|---|---|
javax.xml.datatype.XMLGregorianCalendar |
creationDate()
Gets the creation date
|
boolean |
duplicate()
Gets the duplicate flag from the "PssblDplct" (BAH) or "Dup" (AH) element
|
org.w3c.dom.Element |
element()
Gets the header as an Element object.
|
java.lang.String |
from()
Gets the sender BIC code from these elements in the following order:
BusinessApplicationHeaderV01/Fr/FIId/FinInstnId/BICFI
BusinessApplicationHeaderV01/Fr/OrgId/Id/OrgId/Id/AnyBIC
|
java.lang.String |
messageName()
Gets the message name.
|
java.lang.String |
namespace()
Gets the specific namespace of the header
|
static BusinessAppHdrV03 |
parse(java.lang.String xml)
Parse the header from an XML with optional wrapper and sibling elements that will be ignored.
|
static BusinessAppHdrV03 |
parse(java.lang.String xml,
MxReadParams params)
Parse the header from an XML with optional wrapper and sibling elements that will be ignored.
|
java.lang.String |
reference()
Get the message reference.
|
java.lang.String |
serviceName()
Gets the service name.
|
void |
setCreationDate(boolean overwrite)
Sets the creation date.
|
java.lang.String |
to()
Gets the receiver BIC code from these elements in the following order:
BusinessApplicationHeaderV03/To/FIId/FinInstnId/BICFI
BusinessApplicationHeaderV03/To/OrgId/Id/OrgId/Id/AnyBIC
|
java.lang.String |
xml(MxWriteParams params)
Get this header as an XML string.
|
java.lang.String |
xml(java.lang.String prefix,
boolean includeXMLDeclaration)
Deprecated.
use
xml(MxWriteParams) instead |
java.lang.String |
xml(java.lang.String prefix,
boolean includeXMLDeclaration,
EscapeHandler escapeHandler)
Deprecated.
use
xml(MxWriteParams) instead |
addRltd, equals, getBizMsgIdr, getBizPrcgDt, getBizSvc, getCharSet, getCpyDplct, getCreDt, getFr, getMktPrctc, getMsgDefIdr, getPrty, getRltd, getSgntr, getTo, hashCode, isPssblDplct, setBizMsgIdr, setBizPrcgDt, setBizSvc, setCharSet, setCpyDplct, setCreDt, setFr, setMktPrctc, setMsgDefIdr, setPrty, setPssblDplct, setSgntr, setTo, toStringpublic static final transient java.lang.String NAMESPACE
public static BusinessAppHdrV03 parse(java.lang.String xml)
parse(String, MxReadParams)xml - the XML content, can contain wrapper elements that will be ignoredcom.prowidesoftware.ProwideException - if severe errors occur during parsepublic static BusinessAppHdrV03 parse(java.lang.String xml, MxReadParams params)
xml - the XML content, can contain wrapper elements that will be ignoredparams - not null unmarshalling parameterscom.prowidesoftware.ProwideException - if severe errors occur during parsepublic java.lang.String from()
public java.lang.String to()
public java.lang.String reference()
public java.lang.String messageName()
messageName in interface AppHdrBusinessApplicationHeaderV03Impl.getMsgDefIdr()public java.lang.String serviceName()
serviceName in interface AppHdrBusinessApplicationHeaderV03Impl.getBizSvc()public boolean duplicate()
AppHdrpublic javax.xml.datatype.XMLGregorianCalendar creationDate()
creationDate in interface AppHdrBusinessApplicationHeaderV03Impl.getCreDt()public void setCreationDate(boolean overwrite)
setCreationDate in interface AppHdroverwrite - if true, the creation date will always be set overwriting any previous value;BusinessApplicationHeaderV03Impl.setCreDt(XMLGregorianCalendar)@Deprecated
@ProwideDeprecated(phase2=SRU2023)
public java.lang.String xml(java.lang.String prefix,
boolean includeXMLDeclaration)
xml(MxWriteParams) instead@Deprecated
@ProwideDeprecated(phase2=SRU2023)
public java.lang.String xml(java.lang.String prefix,
boolean includeXMLDeclaration,
EscapeHandler escapeHandler)
xml(MxWriteParams) insteadpublic java.lang.String xml(MxWriteParams params)
AppHdrpublic org.w3c.dom.Element element()
AppHdr