Class MxCain01200101
- java.lang.Object
-
- com.prowidesoftware.swift.model.AbstractMessage
-
- com.prowidesoftware.swift.model.mx.AbstractMX
-
- com.prowidesoftware.swift.model.mx.MxCain01200101
-
- All Implemented Interfaces:
com.prowidesoftware.JsonSerializable
public class MxCain01200101 extends AbstractMX
Class for cain.012.001.01 ISO 20022 message.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Class[]_classesstatic java.lang.StringBUSINESS_PROCESSstatic intFUNCTIONALITYprotected com.prowidesoftware.swift.model.mx.dic.KeyExchangeResponsekeyXchgRspnstatic java.lang.StringNAMESPACEstatic intVARIANTstatic intVERSION-
Fields inherited from class com.prowidesoftware.swift.model.mx.AbstractMX
DEFAULT_ROOT_ELEMENT, DOCUMENT_LOCALNAME
-
-
Constructor Summary
Constructors Constructor Description MxCain01200101()MxCain01200101(MxSwiftMessage mxSwiftMessage)Creates the MX object parsing the raw content from the parameter MxSwiftMessageMxCain01200101(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 booleanequals(java.lang.Object that)static MxCain01200101fromJson(java.lang.String json)Creates an MxCain01200101 messages from its JSON representation.java.lang.StringgetBusinessProcess()get the Alphabetic code in four positions (fixed length) identifying the Business Processjava.lang.Class[]getClasses()Get the classes associated with this messageintgetFunctionality()Get the code identifying the Message Functionalitycom.prowidesoftware.swift.model.mx.dic.KeyExchangeResponsegetKeyXchgRspn()Gets the value of the keyXchgRspn property.java.lang.StringgetNamespace()Get the XML namespace of the messageintgetVariant()Get the Message variantintgetVersion()Get the message versioninthashCode()static MxCain01200101parse(java.lang.String xml)Creates the MX object parsing the raw content from the parameter XML, using default unmarshalling optionsstatic MxCain01200101parse(java.lang.String xml, MxRead parserImpl)Creates the MX object parsing the raw content from the parameter XML with injected read implementationstatic MxCain01200101parse(java.lang.String xml, MxReadConfiguration conf)Creates the MX object parsing the raw content from the parameter XML, using the provided unmarshalling optionsMxCain01200101setKeyXchgRspn(com.prowidesoftware.swift.model.mx.dic.KeyExchangeResponse value)Sets the value of the keyXchgRspn property.java.lang.StringtoString()-
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
-
keyXchgRspn
protected com.prowidesoftware.swift.model.mx.dic.KeyExchangeResponse keyXchgRspn
-
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
-
MxCain01200101
public MxCain01200101()
-
MxCain01200101
public MxCain01200101(java.lang.String xml)
Creates the MX object parsing the parameter String with the XML content
-
MxCain01200101
public MxCain01200101(MxSwiftMessage mxSwiftMessage)
Creates the MX object parsing the raw content from the parameter MxSwiftMessage
-
-
Method Detail
-
getKeyXchgRspn
public com.prowidesoftware.swift.model.mx.dic.KeyExchangeResponse getKeyXchgRspn()
Gets the value of the keyXchgRspn property.- Returns:
- possible object is
KeyExchangeResponse
-
setKeyXchgRspn
public MxCain01200101 setKeyXchgRspn(com.prowidesoftware.swift.model.mx.dic.KeyExchangeResponse value)
Sets the value of the keyXchgRspn property.- Parameters:
value- allowed object isKeyExchangeResponse
-
getBusinessProcess
public java.lang.String getBusinessProcess()
Description copied from class:AbstractMXget the Alphabetic code in four positions (fixed length) identifying the Business Process- Specified by:
getBusinessProcessin classAbstractMX- Returns:
- the business process of the implementing class
-
getFunctionality
public int getFunctionality()
Description copied from class:AbstractMXGet the code identifying the Message Functionality- Specified by:
getFunctionalityin classAbstractMX- Returns:
- the set functionality or null if not set
-
getVariant
public int getVariant()
Description copied from class:AbstractMXGet the Message variant- Specified by:
getVariantin classAbstractMX- Returns:
- the set variant or null if not set
-
getVersion
public int getVersion()
Description copied from class:AbstractMXGet the message version- Specified by:
getVersionin classAbstractMX- Returns:
- the set vesion or null if not set
-
parse
public static MxCain01200101 parse(java.lang.String xml)
Creates the MX object parsing the raw content from the parameter XML, using default unmarshalling options
-
parse
public static MxCain01200101 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 MxCain01200101 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:AbstractMXGet the XML namespace of the message- Specified by:
getNamespacein classAbstractMX
-
getClasses
public java.lang.Class[] getClasses()
Description copied from class:AbstractMXGet the classes associated with this message- Specified by:
getClassesin classAbstractMX
-
fromJson
public static final MxCain01200101 fromJson(java.lang.String json)
Creates an MxCain01200101 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 MxCain01200101 message- Returns:
- a new instance of MxCain01200101
- Since:
- 7.10.2
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-