com.prowidesoftware.swift.model.mx.dic.Bid2 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.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;
/**
* Identification of an attempt to buy or sell a large number of financial instruments contained in or comprising a portfolio.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Bid2", propOrder = {
"bidId",
"clntBidId",
"listId",
"bidRspnPricDtls"
})
public class Bid2 {
@XmlElement(name = "BidId")
protected String bidId;
@XmlElement(name = "ClntBidId")
protected String clntBidId;
@XmlElement(name = "ListId", required = true)
protected String listId;
@XmlElement(name = "BidRspnPricDtls", required = true)
protected List bidRspnPricDtls;
/**
* Gets the value of the bidId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBidId() {
return bidId;
}
/**
* Sets the value of the bidId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Bid2 setBidId(String value) {
this.bidId = value;
return this;
}
/**
* Gets the value of the clntBidId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClntBidId() {
return clntBidId;
}
/**
* Sets the value of the clntBidId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Bid2 setClntBidId(String value) {
this.clntBidId = value;
return this;
}
/**
* Gets the value of the listId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getListId() {
return listId;
}
/**
* Sets the value of the listId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Bid2 setListId(String value) {
this.listId = value;
return this;
}
/**
* Gets the value of the bidRspnPricDtls 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 bidRspnPricDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getBidRspnPricDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BidResponsePrice1 }
*
*
* @return
* The value of the bidRspnPricDtls property.
*/
public List getBidRspnPricDtls() {
if (bidRspnPricDtls == null) {
bidRspnPricDtls = new ArrayList<>();
}
return this.bidRspnPricDtls;
}
@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 bidRspnPricDtls list.
* @see #getBidRspnPricDtls()
*
*/
public Bid2 addBidRspnPricDtls(BidResponsePrice1 bidRspnPricDtls) {
getBidRspnPricDtls().add(bidRspnPricDtls);
return this;
}
}