
com.prowidesoftware.swift.model.mx.dic.DetailedInstructionStatus2 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.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;
/**
* Status applying to individual instructions of a MeetingInstruction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DetailedInstructionStatus2", propOrder = {
"instrId",
"acctId",
"acctOwnr",
"subAcctId",
"rghtsHldr",
"stgInstr",
"votePerRsltn"
})
public class DetailedInstructionStatus2 {
@XmlElement(name = "InstrId", required = true)
protected String instrId;
@XmlElement(name = "AcctId")
protected String acctId;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification9Choice acctOwnr;
@XmlElement(name = "SubAcctId")
protected String subAcctId;
@XmlElement(name = "RghtsHldr")
protected List rghtsHldr;
@XmlElement(name = "StgInstr")
protected boolean stgInstr;
@XmlElement(name = "VotePerRsltn", required = true)
protected List votePerRsltn;
/**
* Gets the value of the instrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInstrId() {
return instrId;
}
/**
* Sets the value of the instrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DetailedInstructionStatus2 setInstrId(String value) {
this.instrId = 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 DetailedInstructionStatus2 setAcctId(String value) {
this.acctId = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification9Choice }
*
*/
public PartyIdentification9Choice getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification9Choice }
*
*/
public DetailedInstructionStatus2 setAcctOwnr(PartyIdentification9Choice 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 DetailedInstructionStatus2 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 JAXB object.
* This is why there is not a 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 PartyIdentification9Choice }
*
*
*/
public List getRghtsHldr() {
if (rghtsHldr == null) {
rghtsHldr = new ArrayList();
}
return this.rghtsHldr;
}
/**
* Gets the value of the stgInstr property.
*
*/
public boolean isStgInstr() {
return stgInstr;
}
/**
* Sets the value of the stgInstr property.
*
*/
public DetailedInstructionStatus2 setStgInstr(boolean value) {
this.stgInstr = 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 JAXB object.
* This is why there is not a 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 Vote4 }
*
*
*/
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 DetailedInstructionStatus2 addRghtsHldr(PartyIdentification9Choice rghtsHldr) {
getRghtsHldr().add(rghtsHldr);
return this;
}
/**
* Adds a new item to the votePerRsltn list.
* @see #getVotePerRsltn()
*
*/
public DetailedInstructionStatus2 addVotePerRsltn(Vote4 votePerRsltn) {
getVotePerRsltn().add(votePerRsltn);
return this;
}
}