com.prowidesoftware.swift.model.mx.MxSeev03400210 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.10 ISO 20022 message.
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Document", propOrder = {
"corpActnInstrStsAdvc"
})
@XmlRootElement(name = "Document", namespace = "urn:iso:std:iso:20022:tech:xsd:seev.034.002.10")
public class MxSeev03400210
extends AbstractMX
{
@XmlElement(name = "CorpActnInstrStsAdvc", required = true)
protected CorporateActionInstructionStatusAdvice002V10 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 = 10;
@SuppressWarnings("rawtypes")
public final static transient Class[] _classes = new Class[] {AcceptedReason11Choice.class, AcceptedStatus9Choice.class, AcceptedStatusReason10 .class, AcknowledgementReason7Code.class, CancelledReason11Choice.class, CancelledStatus15Choice.class, CancelledStatusReason14 .class, CancelledStatusReason6Code.class, CashAccountIdentification6Choice.class, CorporateActionEventType20Code.class, CorporateActionEventType58Choice.class, CorporateActionGeneralInformation114 .class, CorporateActionInstructionStatusAdvice002V10 .class, CorporateActionNarrative19 .class, CorporateActionOption10Code.class, CorporateActionOption156 .class, CorporateActionOption22Choice.class, DocumentIdentification17 .class, DocumentIdentification34 .class, DocumentIdentification4Choice.class, DocumentNumber6Choice.class, FinancialInstrumentQuantity15Choice.class, FinancialInstrumentQuantity31Choice.class, GenericIdentification47 .class, GenericIdentification84 .class, GenericIdentification85 .class, GenericIdentification86 .class, IdentificationSource4Choice.class, InstructionProcessingStatus34Choice.class, MxSeev03400210 .class, NoReasonCode.class, NoSpecifiedReason1 .class, OptionFeatures12Code.class, OptionFeaturesFormat27Choice.class, OptionNumber1Choice.class, OptionNumber1Code.class, OriginalAndCurrentQuantities4 .class, OtherIdentification2 .class, PartyIdentification136Choice.class, PendingReason14Code.class, PendingReason49Choice.class, PendingStatus53Choice.class, PendingStatusReason15 .class, ProprietaryQuantity9 .class, ProprietaryReason5 .class, ProprietaryStatusAndReason7 .class, ProtectInstruction6 .class, ProtectInstructionStatus3Code.class, ProtectTransactionType2Code.class, Quantity10Choice.class, Quantity21Choice.class, RejectedReason26Choice.class, RejectedStatus27Choice.class, RejectedStatusReason25 .class, RejectionReason48Code.class, RestrictedFINActiveCurrencyAndAmount.class, SafekeepingPlace1Code.class, SafekeepingPlace2Code.class, SafekeepingPlaceFormat32Choice.class, SafekeepingPlaceTypeAndIdentification1 .class, SafekeepingPlaceTypeAndText9 .class, SecurityIdentification20 .class, ShortLong1Code.class, SignedQuantityFormat8 .class, SupplementaryData1 .class, SupplementaryDataEnvelope1 .class };
public final static transient String NAMESPACE = "urn:iso:std:iso:20022:tech:xsd:seev.034.002.10";
public MxSeev03400210() {
super();
}
/**
* Creates the MX object parsing the parameter String with the XML content
*
*/
public MxSeev03400210(final String xml) {
this();
MxSeev03400210 tmp = parse(xml);
corpActnInstrStsAdvc = tmp.getCorpActnInstrStsAdvc();
}
/**
* Creates the MX object parsing the raw content from the parameter MxSwiftMessage
*
*/
public MxSeev03400210(final MxSwiftMessage mxSwiftMessage) {
this(mxSwiftMessage.message());
}
/**
* Gets the value of the corpActnInstrStsAdvc property.
*
* @return
* possible object is
* {@link CorporateActionInstructionStatusAdvice002V10 }
*
*/
public CorporateActionInstructionStatusAdvice002V10 getCorpActnInstrStsAdvc() {
return corpActnInstrStsAdvc;
}
/**
* Sets the value of the corpActnInstrStsAdvc property.
*
* @param value
* allowed object is
* {@link CorporateActionInstructionStatusAdvice002V10 }
*
*/
public MxSeev03400210 setCorpActnInstrStsAdvc(CorporateActionInstructionStatusAdvice002V10 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 MxSeev03400210 parse(String xml) {
return ((MxSeev03400210) MxReadImpl.parse(MxSeev03400210 .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 MxSeev03400210 parse(String xml, MxRead parserImpl) {
return ((MxSeev03400210) parserImpl.read(MxSeev03400210 .class, xml, _classes));
}
@Override
public String getNamespace() {
return NAMESPACE;
}
@Override
@SuppressWarnings("rawtypes")
public Class[] getClasses() {
return _classes;
}
/**
* Creates an MxSeev03400210 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 MxSeev03400210 message
* @return
* a new instance of MxSeev03400210
*/
public final static MxSeev03400210 fromJson(String json) {
return AbstractMX.fromJson(json, MxSeev03400210 .class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy