Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE |
bizMsgIdr, bizPrcgDt, bizSvc, charSet, cpyDplct, creDt, fr, mktPrctc, msgDefIdr, prty, pssblDplct, rltd, sgntr, to
HEADER_LOCALNAME
Constructor and Description |
---|
BusinessAppHdrV02() |
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.
|
org.w3c.dom.Element |
element(javax.xml.bind.JAXBContext inputContext) |
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 BusinessAppHdrV02 |
parse(java.lang.String xml)
Parse the header from an XML with optional wrapper and sibling elements that will be ignored.
|
static BusinessAppHdrV02 |
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:
BusinessApplicationHeaderV02/To/FIId/FinInstnId/BICFI
BusinessApplicationHeaderV02/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, toString
public static final transient java.lang.String NAMESPACE
public static BusinessAppHdrV02 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 BusinessAppHdrV02 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 AppHdr
BusinessApplicationHeaderV02Impl.getMsgDefIdr()
public java.lang.String serviceName()
serviceName
in interface AppHdr
BusinessApplicationHeaderV02Impl.getBizSvc()
public boolean duplicate()
AppHdr
public javax.xml.datatype.XMLGregorianCalendar creationDate()
creationDate
in interface AppHdr
BusinessApplicationHeaderV02Impl.getCreDt()
public void setCreationDate(boolean overwrite)
setCreationDate
in interface AppHdr
overwrite
- if true, the creation date will always be set overwriting any previous value;BusinessApplicationHeaderV02Impl.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)
AppHdr
public org.w3c.dom.Element element()
AppHdr
public org.w3c.dom.Element element(javax.xml.bind.JAXBContext inputContext)