com.prowidesoftware.swift.model.mx.dic.VoteParameters4 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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;
/**
* Information describing how the voting process is organised.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VoteParameters4", propOrder = {
"sctiesQtyReqrdToVote",
"prtlVoteAllwd",
"spltVoteAllwd",
"voteDdln",
"voteSTPDdln",
"voteMktDdln",
"voteMthds",
"vtngBlltElctrncAdr",
"vtngBlltReqAdr",
"rvcbltyDdln",
"rvcbltySTPDdln",
"rvcbltyMktDdln",
"bnfclOwnrDsclsr",
"voteInstrTp",
"earlyIncntivPrm",
"incntivPrm",
"earlyVoteWthPrmDdln",
"voteWthPrmDdln",
"voteWthPrmSTPDdln",
"voteWthPrmMktDdln",
"addtlVtngRqrmnts",
"prvsInstrInvldtyInd"
})
public class VoteParameters4 {
@XmlElement(name = "SctiesQtyReqrdToVote")
protected BigDecimal sctiesQtyReqrdToVote;
@XmlElement(name = "PrtlVoteAllwd")
protected boolean prtlVoteAllwd;
@XmlElement(name = "SpltVoteAllwd")
protected boolean spltVoteAllwd;
@XmlElement(name = "VoteDdln")
protected DateFormat29Choice voteDdln;
@XmlElement(name = "VoteSTPDdln")
protected DateFormat29Choice voteSTPDdln;
@XmlElement(name = "VoteMktDdln")
protected DateFormat29Choice voteMktDdln;
@XmlElement(name = "VoteMthds")
protected VoteMethods2 voteMthds;
@XmlElement(name = "VtngBlltElctrncAdr")
protected CommunicationAddress4 vtngBlltElctrncAdr;
@XmlElement(name = "VtngBlltReqAdr")
protected PostalAddress1 vtngBlltReqAdr;
@XmlElement(name = "RvcbltyDdln")
protected DateFormat29Choice rvcbltyDdln;
@XmlElement(name = "RvcbltySTPDdln")
protected DateFormat29Choice rvcbltySTPDdln;
@XmlElement(name = "RvcbltyMktDdln")
protected DateFormat29Choice rvcbltyMktDdln;
@XmlElement(name = "BnfclOwnrDsclsr")
protected boolean bnfclOwnrDsclsr;
@XmlElement(name = "VoteInstrTp")
@XmlSchemaType(name = "string")
protected List voteInstrTp;
@XmlElement(name = "EarlyIncntivPrm")
protected IncentivePremium3 earlyIncntivPrm;
@XmlElement(name = "IncntivPrm")
protected IncentivePremium3 incntivPrm;
@XmlElement(name = "EarlyVoteWthPrmDdln")
protected DateFormat29Choice earlyVoteWthPrmDdln;
@XmlElement(name = "VoteWthPrmDdln")
protected DateFormat29Choice voteWthPrmDdln;
@XmlElement(name = "VoteWthPrmSTPDdln")
protected DateFormat29Choice voteWthPrmSTPDdln;
@XmlElement(name = "VoteWthPrmMktDdln")
protected DateFormat29Choice voteWthPrmMktDdln;
@XmlElement(name = "AddtlVtngRqrmnts")
protected String addtlVtngRqrmnts;
@XmlElement(name = "PrvsInstrInvldtyInd")
protected Boolean prvsInstrInvldtyInd;
/**
* Gets the value of the sctiesQtyReqrdToVote property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSctiesQtyReqrdToVote() {
return sctiesQtyReqrdToVote;
}
/**
* Sets the value of the sctiesQtyReqrdToVote property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public VoteParameters4 setSctiesQtyReqrdToVote(BigDecimal value) {
this.sctiesQtyReqrdToVote = value;
return this;
}
/**
* Gets the value of the prtlVoteAllwd property.
*
*/
public boolean isPrtlVoteAllwd() {
return prtlVoteAllwd;
}
/**
* Sets the value of the prtlVoteAllwd property.
*
*/
public VoteParameters4 setPrtlVoteAllwd(boolean value) {
this.prtlVoteAllwd = value;
return this;
}
/**
* Gets the value of the spltVoteAllwd property.
*
*/
public boolean isSpltVoteAllwd() {
return spltVoteAllwd;
}
/**
* Sets the value of the spltVoteAllwd property.
*
*/
public VoteParameters4 setSpltVoteAllwd(boolean value) {
this.spltVoteAllwd = value;
return this;
}
/**
* Gets the value of the voteDdln property.
*
* @return
* possible object is
* {@link DateFormat29Choice }
*
*/
public DateFormat29Choice getVoteDdln() {
return voteDdln;
}
/**
* Sets the value of the voteDdln property.
*
* @param value
* allowed object is
* {@link DateFormat29Choice }
*
*/
public VoteParameters4 setVoteDdln(DateFormat29Choice value) {
this.voteDdln = value;
return this;
}
/**
* Gets the value of the voteSTPDdln property.
*
* @return
* possible object is
* {@link DateFormat29Choice }
*
*/
public DateFormat29Choice getVoteSTPDdln() {
return voteSTPDdln;
}
/**
* Sets the value of the voteSTPDdln property.
*
* @param value
* allowed object is
* {@link DateFormat29Choice }
*
*/
public VoteParameters4 setVoteSTPDdln(DateFormat29Choice value) {
this.voteSTPDdln = value;
return this;
}
/**
* Gets the value of the voteMktDdln property.
*
* @return
* possible object is
* {@link DateFormat29Choice }
*
*/
public DateFormat29Choice getVoteMktDdln() {
return voteMktDdln;
}
/**
* Sets the value of the voteMktDdln property.
*
* @param value
* allowed object is
* {@link DateFormat29Choice }
*
*/
public VoteParameters4 setVoteMktDdln(DateFormat29Choice value) {
this.voteMktDdln = value;
return this;
}
/**
* Gets the value of the voteMthds property.
*
* @return
* possible object is
* {@link VoteMethods2 }
*
*/
public VoteMethods2 getVoteMthds() {
return voteMthds;
}
/**
* Sets the value of the voteMthds property.
*
* @param value
* allowed object is
* {@link VoteMethods2 }
*
*/
public VoteParameters4 setVoteMthds(VoteMethods2 value) {
this.voteMthds = value;
return this;
}
/**
* Gets the value of the vtngBlltElctrncAdr property.
*
* @return
* possible object is
* {@link CommunicationAddress4 }
*
*/
public CommunicationAddress4 getVtngBlltElctrncAdr() {
return vtngBlltElctrncAdr;
}
/**
* Sets the value of the vtngBlltElctrncAdr property.
*
* @param value
* allowed object is
* {@link CommunicationAddress4 }
*
*/
public VoteParameters4 setVtngBlltElctrncAdr(CommunicationAddress4 value) {
this.vtngBlltElctrncAdr = value;
return this;
}
/**
* Gets the value of the vtngBlltReqAdr property.
*
* @return
* possible object is
* {@link PostalAddress1 }
*
*/
public PostalAddress1 getVtngBlltReqAdr() {
return vtngBlltReqAdr;
}
/**
* Sets the value of the vtngBlltReqAdr property.
*
* @param value
* allowed object is
* {@link PostalAddress1 }
*
*/
public VoteParameters4 setVtngBlltReqAdr(PostalAddress1 value) {
this.vtngBlltReqAdr = value;
return this;
}
/**
* Gets the value of the rvcbltyDdln property.
*
* @return
* possible object is
* {@link DateFormat29Choice }
*
*/
public DateFormat29Choice getRvcbltyDdln() {
return rvcbltyDdln;
}
/**
* Sets the value of the rvcbltyDdln property.
*
* @param value
* allowed object is
* {@link DateFormat29Choice }
*
*/
public VoteParameters4 setRvcbltyDdln(DateFormat29Choice value) {
this.rvcbltyDdln = value;
return this;
}
/**
* Gets the value of the rvcbltySTPDdln property.
*
* @return
* possible object is
* {@link DateFormat29Choice }
*
*/
public DateFormat29Choice getRvcbltySTPDdln() {
return rvcbltySTPDdln;
}
/**
* Sets the value of the rvcbltySTPDdln property.
*
* @param value
* allowed object is
* {@link DateFormat29Choice }
*
*/
public VoteParameters4 setRvcbltySTPDdln(DateFormat29Choice value) {
this.rvcbltySTPDdln = value;
return this;
}
/**
* Gets the value of the rvcbltyMktDdln property.
*
* @return
* possible object is
* {@link DateFormat29Choice }
*
*/
public DateFormat29Choice getRvcbltyMktDdln() {
return rvcbltyMktDdln;
}
/**
* Sets the value of the rvcbltyMktDdln property.
*
* @param value
* allowed object is
* {@link DateFormat29Choice }
*
*/
public VoteParameters4 setRvcbltyMktDdln(DateFormat29Choice value) {
this.rvcbltyMktDdln = value;
return this;
}
/**
* Gets the value of the bnfclOwnrDsclsr property.
*
*/
public boolean isBnfclOwnrDsclsr() {
return bnfclOwnrDsclsr;
}
/**
* Sets the value of the bnfclOwnrDsclsr property.
*
*/
public VoteParameters4 setBnfclOwnrDsclsr(boolean value) {
this.bnfclOwnrDsclsr = value;
return this;
}
/**
* Gets the value of the voteInstrTp 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 voteInstrTp property.
*
*
* For example, to add a new item, do as follows:
*
* getVoteInstrTp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VoteInstruction2Code }
*
*
* @return
* The value of the voteInstrTp property.
*/
public List getVoteInstrTp() {
if (voteInstrTp == null) {
voteInstrTp = new ArrayList<>();
}
return this.voteInstrTp;
}
/**
* Gets the value of the earlyIncntivPrm property.
*
* @return
* possible object is
* {@link IncentivePremium3 }
*
*/
public IncentivePremium3 getEarlyIncntivPrm() {
return earlyIncntivPrm;
}
/**
* Sets the value of the earlyIncntivPrm property.
*
* @param value
* allowed object is
* {@link IncentivePremium3 }
*
*/
public VoteParameters4 setEarlyIncntivPrm(IncentivePremium3 value) {
this.earlyIncntivPrm = value;
return this;
}
/**
* Gets the value of the incntivPrm property.
*
* @return
* possible object is
* {@link IncentivePremium3 }
*
*/
public IncentivePremium3 getIncntivPrm() {
return incntivPrm;
}
/**
* Sets the value of the incntivPrm property.
*
* @param value
* allowed object is
* {@link IncentivePremium3 }
*
*/
public VoteParameters4 setIncntivPrm(IncentivePremium3 value) {
this.incntivPrm = value;
return this;
}
/**
* Gets the value of the earlyVoteWthPrmDdln property.
*
* @return
* possible object is
* {@link DateFormat29Choice }
*
*/
public DateFormat29Choice getEarlyVoteWthPrmDdln() {
return earlyVoteWthPrmDdln;
}
/**
* Sets the value of the earlyVoteWthPrmDdln property.
*
* @param value
* allowed object is
* {@link DateFormat29Choice }
*
*/
public VoteParameters4 setEarlyVoteWthPrmDdln(DateFormat29Choice value) {
this.earlyVoteWthPrmDdln = value;
return this;
}
/**
* Gets the value of the voteWthPrmDdln property.
*
* @return
* possible object is
* {@link DateFormat29Choice }
*
*/
public DateFormat29Choice getVoteWthPrmDdln() {
return voteWthPrmDdln;
}
/**
* Sets the value of the voteWthPrmDdln property.
*
* @param value
* allowed object is
* {@link DateFormat29Choice }
*
*/
public VoteParameters4 setVoteWthPrmDdln(DateFormat29Choice value) {
this.voteWthPrmDdln = value;
return this;
}
/**
* Gets the value of the voteWthPrmSTPDdln property.
*
* @return
* possible object is
* {@link DateFormat29Choice }
*
*/
public DateFormat29Choice getVoteWthPrmSTPDdln() {
return voteWthPrmSTPDdln;
}
/**
* Sets the value of the voteWthPrmSTPDdln property.
*
* @param value
* allowed object is
* {@link DateFormat29Choice }
*
*/
public VoteParameters4 setVoteWthPrmSTPDdln(DateFormat29Choice value) {
this.voteWthPrmSTPDdln = value;
return this;
}
/**
* Gets the value of the voteWthPrmMktDdln property.
*
* @return
* possible object is
* {@link DateFormat29Choice }
*
*/
public DateFormat29Choice getVoteWthPrmMktDdln() {
return voteWthPrmMktDdln;
}
/**
* Sets the value of the voteWthPrmMktDdln property.
*
* @param value
* allowed object is
* {@link DateFormat29Choice }
*
*/
public VoteParameters4 setVoteWthPrmMktDdln(DateFormat29Choice value) {
this.voteWthPrmMktDdln = value;
return this;
}
/**
* Gets the value of the addtlVtngRqrmnts property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddtlVtngRqrmnts() {
return addtlVtngRqrmnts;
}
/**
* Sets the value of the addtlVtngRqrmnts property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public VoteParameters4 setAddtlVtngRqrmnts(String value) {
this.addtlVtngRqrmnts = value;
return this;
}
/**
* Gets the value of the prvsInstrInvldtyInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isPrvsInstrInvldtyInd() {
return prvsInstrInvldtyInd;
}
/**
* Sets the value of the prvsInstrInvldtyInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public VoteParameters4 setPrvsInstrInvldtyInd(Boolean value) {
this.prvsInstrInvldtyInd = 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 voteInstrTp list.
* @see #getVoteInstrTp()
*
*/
public VoteParameters4 addVoteInstrTp(VoteInstruction2Code voteInstrTp) {
getVoteInstrTp().add(voteInstrTp);
return this;
}
}