com.prowidesoftware.swift.model.mx.MxSeev03400201 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
package com.prowidesoftware.swift.model.mx;
import com.prowidesoftware.swift.model.mx.dic.*;
import com.prowidesoftware.swift.model.mx.AbstractMX;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import com.prowidesoftware.swift.model.MxSwiftMessage;
import com.prowidesoftware.swift.model.mx.AbstractMX;
import com.prowidesoftware.swift.model.mx.MxRead;
import com.prowidesoftware.swift.model.mx.MxReadImpl;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Class for seev.034.002.01 ISO 20022 message.
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Document", propOrder = {
"corpActnInstrStsAdvc"
})
@XmlRootElement(name = "Document", namespace = "urn:swift:xsd:seev.034.002.01")
public class MxSeev03400201
extends AbstractMX
{
@XmlElement(name = "CorpActnInstrStsAdvc", required = true)
protected CorporateActionInstructionStatusAdvice002V01 corpActnInstrStsAdvc;
public final static transient String BUSINESS_PROCESS = "seev";
public final static transient int FUNCTIONALITY = 34;
public final static transient int VARIANT = 2;
public final static transient int VERSION = 1;
@SuppressWarnings("rawtypes")
public final static transient Class[] _classes = new Class[] {AcceptedReason2Choice.class, AcceptedStatus2Choice.class, AcceptedStatusReason2 .class, AcknowledgementReason4Code.class, AlternateIdentification2 .class, CancelledReason2Choice.class, CancelledStatus2Choice.class, CancelledStatusReason5 .class, CancelledStatusReason6Code.class, CashAccountIdentification6Choice.class, CopyDuplicate1Code.class, CorporateActionEventType4Choice.class, CorporateActionEventType6Code.class, CorporateActionGeneralInformation13 .class, CorporateActionInstructionStatusAdvice002V01 .class, CorporateActionNarrative19 .class, CorporateActionOption18 .class, CorporateActionOption6Code.class, CorporateActionOption7Choice.class, DateAndDateTimeChoice.class, DocumentIdentification16 .class, DocumentIdentification17 .class, DocumentIdentification21 .class, DocumentIdentification2Choice.class, DocumentNumber2Choice.class, Extension2 .class, ExtensionEnvelope1 .class, FinancialInstrumentQuantity15Choice.class, GenericIdentification23 .class, GenericIdentification24 .class, GenericIdentification25 .class, GenericIdentification26 .class, IdentificationSource2Choice.class, InstructionProcessingStatus4Choice.class, MxSeev03400201 .class, NameAndAddress12 .class, NoReasonCode.class, NoSpecifiedReason1 .class, OptionNumber1Choice.class, OptionNumber1Code.class, OriginalAndCurrentQuantities4 .class, PartyIdentification16Choice.class, PartyIdentification18Choice.class, PendingReason5Code.class, PendingReason7Choice.class, PendingStatus6Choice.class, PendingStatusReason4 .class, ProprietaryQuantity4 .class, ProprietaryReason2 .class, ProprietaryStatusAndReason2 .class, Quantity10Choice.class, Quantity7Choice.class, RejectedReason2Choice.class, RejectedStatus2Choice.class, RejectedStatusReason9 .class, RejectionReason17Code.class, SafekeepingPlace1Code.class, SafekeepingPlace2Code.class, SafekeepingPlaceFormat5Choice.class, SafekeepingPlaceTypeAndAnyBICIdentifier1 .class, SafekeepingPlaceTypeAndText5 .class, SecurityIdentification12 .class, SecurityIdentification12Choice.class, ShortLong1Code.class, SignedQuantityFormat3 .class, StatusOrQuantityToReceive2Choice.class };
public final static transient String NAMESPACE = "urn:swift:xsd:seev.034.002.01";
public MxSeev03400201() {
super();
}
/**
* Creates the MX object parsing the parameter String with the XML content
*
*/
public MxSeev03400201(final String xml) {
this();
MxSeev03400201 tmp = parse(xml);
corpActnInstrStsAdvc = tmp.getCorpActnInstrStsAdvc();
}
/**
* Creates the MX object parsing the raw content from the parameter MxSwiftMessage
*
*/
public MxSeev03400201(final MxSwiftMessage mxSwiftMessage) {
this(mxSwiftMessage.message());
}
/**
* Gets the value of the corpActnInstrStsAdvc property.
*
* @return
* possible object is
* {@link CorporateActionInstructionStatusAdvice002V01 }
*
*/
public CorporateActionInstructionStatusAdvice002V01 getCorpActnInstrStsAdvc() {
return corpActnInstrStsAdvc;
}
/**
* Sets the value of the corpActnInstrStsAdvc property.
*
* @param value
* allowed object is
* {@link CorporateActionInstructionStatusAdvice002V01 }
*
*/
public MxSeev03400201 setCorpActnInstrStsAdvc(CorporateActionInstructionStatusAdvice002V01 value) {
this.corpActnInstrStsAdvc = value;
return this;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
@Override
public String getBusinessProcess() {
return BUSINESS_PROCESS;
}
@Override
public int getFunctionality() {
return FUNCTIONALITY;
}
@Override
public int getVariant() {
return VARIANT;
}
@Override
public int getVersion() {
return VERSION;
}
/**
* Creates the MX object parsing the raw content from the parameter XML
*
*/
public static MxSeev03400201 parse(String xml) {
return ((MxSeev03400201) MxReadImpl.parse(MxSeev03400201 .class, xml, _classes));
}
/**
* Creates the MX object parsing the raw content from the parameter XML with injected read implementation
* @since 9.0.1
*
* @param parserImpl an MX unmarshall implementation
*/
public static MxSeev03400201 parse(String xml, MxRead parserImpl) {
return ((MxSeev03400201) parserImpl.read(MxSeev03400201 .class, xml, _classes));
}
@Override
public String getNamespace() {
return NAMESPACE;
}
@Override
@SuppressWarnings("rawtypes")
public Class[] getClasses() {
return _classes;
}
/**
* Creates an MxSeev03400201 messages from its JSON representation.
*
* For generic conversion of JSON into the corresponding MX instance
* see {@link AbstractMX#fromJson(String)}
*
* @since 7.10.2
*
* @param json a JSON representation of an MxSeev03400201 message
* @return
* a new instance of MxSeev03400201
*/
public final static MxSeev03400201 fromJson(String json) {
return AbstractMX.fromJson(json, MxSeev03400201 .class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy