com.prowidesoftware.swift.model.mx.dic.DetailedInstructionStatus17 Maven / Gradle / Ivy
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;
/**
* Information about a meeting instruction vote.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DetailedInstructionStatus17", propOrder = {
"snglInstrId",
"acctId",
"acctOwnr",
"subAcctId",
"rghtsHldr",
"prxy",
"stgInstr",
"modltyOfCntg",
"voteRctDtTm",
"votePerRsltn"
})
public class DetailedInstructionStatus17 {
@XmlElement(name = "SnglInstrId", required = true)
protected String snglInstrId;
@XmlElement(name = "AcctId")
protected String acctId;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification231Choice acctOwnr;
@XmlElement(name = "SubAcctId")
protected String subAcctId;
@XmlElement(name = "RghtsHldr")
protected List rghtsHldr;
@XmlElement(name = "Prxy")
protected PartyIdentification232Choice prxy;
@XmlElement(name = "StgInstr")
protected Boolean stgInstr;
@XmlElement(name = "ModltyOfCntg", required = true)
protected ModalityOfCounting1Choice modltyOfCntg;
@XmlElement(name = "VoteRctDtTm")
protected DateAndDateTime1Choice voteRctDtTm;
@XmlElement(name = "VotePerRsltn")
protected List votePerRsltn;
/**
* Gets the value of the snglInstrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSnglInstrId() {
return snglInstrId;
}
/**
* Sets the value of the snglInstrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DetailedInstructionStatus17 setSnglInstrId(String value) {
this.snglInstrId = value;
return this;
}
/**
* Gets the value of the acctId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctId() {
return acctId;
}
/**
* Sets the value of the acctId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DetailedInstructionStatus17 setAcctId(String value) {
this.acctId = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification231Choice }
*
*/
public PartyIdentification231Choice getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification231Choice }
*
*/
public DetailedInstructionStatus17 setAcctOwnr(PartyIdentification231Choice value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the subAcctId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSubAcctId() {
return subAcctId;
}
/**
* Sets the value of the subAcctId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DetailedInstructionStatus17 setSubAcctId(String value) {
this.subAcctId = value;
return this;
}
/**
* Gets the value of the rghtsHldr 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 rghtsHldr property.
*
*
* For example, to add a new item, do as follows:
*
* getRghtsHldr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyIdentification237Choice }
*
*
* @return
* The value of the rghtsHldr property.
*/
public List getRghtsHldr() {
if (rghtsHldr == null) {
rghtsHldr = new ArrayList<>();
}
return this.rghtsHldr;
}
/**
* Gets the value of the prxy property.
*
* @return
* possible object is
* {@link PartyIdentification232Choice }
*
*/
public PartyIdentification232Choice getPrxy() {
return prxy;
}
/**
* Sets the value of the prxy property.
*
* @param value
* allowed object is
* {@link PartyIdentification232Choice }
*
*/
public DetailedInstructionStatus17 setPrxy(PartyIdentification232Choice value) {
this.prxy = value;
return this;
}
/**
* Gets the value of the stgInstr property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isStgInstr() {
return stgInstr;
}
/**
* Sets the value of the stgInstr property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public DetailedInstructionStatus17 setStgInstr(Boolean value) {
this.stgInstr = value;
return this;
}
/**
* Gets the value of the modltyOfCntg property.
*
* @return
* possible object is
* {@link ModalityOfCounting1Choice }
*
*/
public ModalityOfCounting1Choice getModltyOfCntg() {
return modltyOfCntg;
}
/**
* Sets the value of the modltyOfCntg property.
*
* @param value
* allowed object is
* {@link ModalityOfCounting1Choice }
*
*/
public DetailedInstructionStatus17 setModltyOfCntg(ModalityOfCounting1Choice value) {
this.modltyOfCntg = value;
return this;
}
/**
* Gets the value of the voteRctDtTm property.
*
* @return
* possible object is
* {@link DateAndDateTime1Choice }
*
*/
public DateAndDateTime1Choice getVoteRctDtTm() {
return voteRctDtTm;
}
/**
* Sets the value of the voteRctDtTm property.
*
* @param value
* allowed object is
* {@link DateAndDateTime1Choice }
*
*/
public DetailedInstructionStatus17 setVoteRctDtTm(DateAndDateTime1Choice value) {
this.voteRctDtTm = value;
return this;
}
/**
* Gets the value of the votePerRsltn 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 votePerRsltn property.
*
*
* For example, to add a new item, do as follows:
*
* getVotePerRsltn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Vote13 }
*
*
* @return
* The value of the votePerRsltn property.
*/
public List getVotePerRsltn() {
if (votePerRsltn == null) {
votePerRsltn = new ArrayList<>();
}
return this.votePerRsltn;
}
@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 rghtsHldr list.
* @see #getRghtsHldr()
*
*/
public DetailedInstructionStatus17 addRghtsHldr(PartyIdentification237Choice rghtsHldr) {
getRghtsHldr().add(rghtsHldr);
return this;
}
/**
* Adds a new item to the votePerRsltn list.
* @see #getVotePerRsltn()
*
*/
public DetailedInstructionStatus17 addVotePerRsltn(Vote13 votePerRsltn) {
getVotePerRsltn().add(votePerRsltn);
return this;
}
}