com.prowidesoftware.swift.model.mx.dic.YieldCalculation2 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.dic;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
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;
/**
* Return provided by a financial instrument.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "YieldCalculation2", propOrder = {
"val",
"clctnTp",
"redPric",
"valDt",
"valPrd",
"clctnDt"
})
public class YieldCalculation2 {
@XmlElement(name = "Val", required = true)
protected BigDecimal val;
@XmlElement(name = "ClctnTp", required = true)
@XmlSchemaType(name = "string")
protected CalculationType1Code clctnTp;
@XmlElement(name = "RedPric")
protected Price4 redPric;
@XmlElement(name = "ValDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar valDt;
@XmlElement(name = "ValPrd")
protected DateTimePeriodChoice valPrd;
@XmlElement(name = "ClctnDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar clctnDt;
/**
* Gets the value of the val property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getVal() {
return val;
}
/**
* Sets the value of the val property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public YieldCalculation2 setVal(BigDecimal value) {
this.val = value;
return this;
}
/**
* Gets the value of the clctnTp property.
*
* @return
* possible object is
* {@link CalculationType1Code }
*
*/
public CalculationType1Code getClctnTp() {
return clctnTp;
}
/**
* Sets the value of the clctnTp property.
*
* @param value
* allowed object is
* {@link CalculationType1Code }
*
*/
public YieldCalculation2 setClctnTp(CalculationType1Code value) {
this.clctnTp = value;
return this;
}
/**
* Gets the value of the redPric property.
*
* @return
* possible object is
* {@link Price4 }
*
*/
public Price4 getRedPric() {
return redPric;
}
/**
* Sets the value of the redPric property.
*
* @param value
* allowed object is
* {@link Price4 }
*
*/
public YieldCalculation2 setRedPric(Price4 value) {
this.redPric = value;
return this;
}
/**
* Gets the value of the valDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getValDt() {
return valDt;
}
/**
* Sets the value of the valDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public YieldCalculation2 setValDt(XMLGregorianCalendar value) {
this.valDt = value;
return this;
}
/**
* Gets the value of the valPrd property.
*
* @return
* possible object is
* {@link DateTimePeriodChoice }
*
*/
public DateTimePeriodChoice getValPrd() {
return valPrd;
}
/**
* Sets the value of the valPrd property.
*
* @param value
* allowed object is
* {@link DateTimePeriodChoice }
*
*/
public YieldCalculation2 setValPrd(DateTimePeriodChoice value) {
this.valPrd = value;
return this;
}
/**
* Gets the value of the clctnDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getClctnDt() {
return clctnDt;
}
/**
* Sets the value of the clctnDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public YieldCalculation2 setClctnDt(XMLGregorianCalendar value) {
this.clctnDt = 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy