com.prowidesoftware.swift.model.mx.dic.SecuritiesTradeVenueCriteria1Choice Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
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;
/**
* Criteria for the trade venue identification.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesTradeVenueCriteria1Choice", propOrder = {
"mic",
"anyMIC"
})
public class SecuritiesTradeVenueCriteria1Choice {
@XmlElement(name = "MIC")
protected List mic;
@XmlElement(name = "AnyMIC")
@XmlSchemaType(name = "string")
protected AnyMIC1Code anyMIC;
/**
* Gets the value of the mic property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a {@code set} method for the mic property.
*
*
* For example, to add a new item, do as follows:
*
* getMIC().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the mic property.
*/
public List getMIC() {
if (mic == null) {
mic = new ArrayList<>();
}
return this.mic;
}
/**
* Gets the value of the anyMIC property.
*
* @return
* possible object is
* {@link AnyMIC1Code }
*
*/
public AnyMIC1Code getAnyMIC() {
return anyMIC;
}
/**
* Sets the value of the anyMIC property.
*
* @param value
* allowed object is
* {@link AnyMIC1Code }
*
*/
public SecuritiesTradeVenueCriteria1Choice setAnyMIC(AnyMIC1Code value) {
this.anyMIC = 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);
}
/**
* Adds a new item to the mIC list.
* @see #getMIC()
*
*/
public SecuritiesTradeVenueCriteria1Choice addMIC(String mIC) {
getMIC().add(mIC);
return this;
}
}