Class MxCain00400102
- java.lang.Object
-
- com.prowidesoftware.swift.model.AbstractMessage
-
- com.prowidesoftware.swift.model.mx.AbstractMX
-
- com.prowidesoftware.swift.model.mx.MxCain00400102
-
- All Implemented Interfaces:
com.prowidesoftware.JsonSerializable
public class MxCain00400102 extends AbstractMX
Class for cain.004.001.02 ISO 20022 message.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Class[]
_classes
static java.lang.String
BUSINESS_PROCESS
protected com.prowidesoftware.swift.model.mx.dic.FinancialResponseV02
finRspn
static int
FUNCTIONALITY
static java.lang.String
NAMESPACE
static int
VARIANT
static int
VERSION
-
Fields inherited from class com.prowidesoftware.swift.model.mx.AbstractMX
DEFAULT_ROOT_ELEMENT, DOCUMENT_LOCALNAME
-
-
Constructor Summary
Constructors Constructor Description MxCain00400102()
MxCain00400102(MxSwiftMessage mxSwiftMessage)
Creates the MX object parsing the raw content from the parameter MxSwiftMessageMxCain00400102(java.lang.String xml)
Creates the MX object parsing the parameter String with the XML content
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object that)
static MxCain00400102
fromJson(java.lang.String json)
Creates an MxCain00400102 messages from its JSON representation.java.lang.String
getBusinessProcess()
get the Alphabetic code in four positions (fixed length) identifying the Business Processjava.lang.Class[]
getClasses()
Get the classes associated with this messagecom.prowidesoftware.swift.model.mx.dic.FinancialResponseV02
getFinRspn()
Gets the value of the finRspn property.int
getFunctionality()
Get the code identifying the Message Functionalityjava.lang.String
getNamespace()
Get the XML namespace of the messageint
getVariant()
Get the Message variantint
getVersion()
Get the message versionint
hashCode()
static MxCain00400102
parse(java.lang.String xml)
Creates the MX object parsing the raw content from the parameter XML, using default unmarshalling optionsstatic MxCain00400102
parse(java.lang.String xml, MxRead parserImpl)
Creates the MX object parsing the raw content from the parameter XML with injected read implementationstatic MxCain00400102
parse(java.lang.String xml, MxReadConfiguration conf)
Creates the MX object parsing the raw content from the parameter XML, using the provided unmarshalling optionsMxCain00400102
setFinRspn(com.prowidesoftware.swift.model.mx.dic.FinancialResponseV02 value)
Sets the value of the finRspn property.java.lang.String
toString()
-
Methods inherited from class com.prowidesoftware.swift.model.mx.AbstractMX
document, document, document, element, element, fromJson, fromJsonV9, fromJsonV9, getAppHdr, getMxId, header, header, message, message, parse, parse, parse, parse, setAppHdr, targetNamespace, toJson, toJsonV9, write, write, xmlSource
-
-
-
-
Field Detail
-
finRspn
protected com.prowidesoftware.swift.model.mx.dic.FinancialResponseV02 finRspn
-
BUSINESS_PROCESS
public static final transient java.lang.String BUSINESS_PROCESS
- See Also:
- Constant Field Values
-
FUNCTIONALITY
public static final transient int FUNCTIONALITY
- See Also:
- Constant Field Values
-
VARIANT
public static final transient int VARIANT
- See Also:
- Constant Field Values
-
VERSION
public static final transient int VERSION
- See Also:
- Constant Field Values
-
_classes
public static final transient java.lang.Class[] _classes
-
NAMESPACE
public static final transient java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MxCain00400102
public MxCain00400102()
-
MxCain00400102
public MxCain00400102(java.lang.String xml)
Creates the MX object parsing the parameter String with the XML content
-
MxCain00400102
public MxCain00400102(MxSwiftMessage mxSwiftMessage)
Creates the MX object parsing the raw content from the parameter MxSwiftMessage
-
-
Method Detail
-
getFinRspn
public com.prowidesoftware.swift.model.mx.dic.FinancialResponseV02 getFinRspn()
Gets the value of the finRspn property.- Returns:
- possible object is
FinancialResponseV02
-
setFinRspn
public MxCain00400102 setFinRspn(com.prowidesoftware.swift.model.mx.dic.FinancialResponseV02 value)
Sets the value of the finRspn property.- Parameters:
value
- allowed object isFinancialResponseV02
-
getBusinessProcess
public java.lang.String getBusinessProcess()
Description copied from class:AbstractMX
get the Alphabetic code in four positions (fixed length) identifying the Business Process- Specified by:
getBusinessProcess
in classAbstractMX
- Returns:
- the business process of the implementing class
-
getFunctionality
public int getFunctionality()
Description copied from class:AbstractMX
Get the code identifying the Message Functionality- Specified by:
getFunctionality
in classAbstractMX
- Returns:
- the set functionality or null if not set
-
getVariant
public int getVariant()
Description copied from class:AbstractMX
Get the Message variant- Specified by:
getVariant
in classAbstractMX
- Returns:
- the set variant or null if not set
-
getVersion
public int getVersion()
Description copied from class:AbstractMX
Get the message version- Specified by:
getVersion
in classAbstractMX
- Returns:
- the set vesion or null if not set
-
parse
public static MxCain00400102 parse(java.lang.String xml)
Creates the MX object parsing the raw content from the parameter XML, using default unmarshalling options
-
parse
public static MxCain00400102 parse(java.lang.String xml, MxReadConfiguration conf)
Creates the MX object parsing the raw content from the parameter XML, using the provided unmarshalling options- Since:
- 9.2.6
-
parse
public static MxCain00400102 parse(java.lang.String xml, MxRead parserImpl)
Creates the MX object parsing the raw content from the parameter XML with injected read implementation- Parameters:
parserImpl
- an MX unmarshall implementation- Since:
- 9.0.1
-
getNamespace
public java.lang.String getNamespace()
Description copied from class:AbstractMX
Get the XML namespace of the message- Specified by:
getNamespace
in classAbstractMX
-
getClasses
public java.lang.Class[] getClasses()
Description copied from class:AbstractMX
Get the classes associated with this message- Specified by:
getClasses
in classAbstractMX
-
fromJson
public static final MxCain00400102 fromJson(java.lang.String json)
Creates an MxCain00400102 messages from its JSON representation.For generic conversion of JSON into the corresponding MX instance see
AbstractMX.fromJson(String)
- Parameters:
json
- a JSON representation of an MxCain00400102 message- Returns:
- a new instance of MxCain00400102
- Since:
- 7.10.2
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-