
com.prowidesoftware.swift.model.mx.dic.Instruction2 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 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;
/**
* Provides information on the instruction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Instruction2", propOrder = {
"instrId",
"reqdExctnDt",
"voteExctnConf",
"acctDtls",
"prxy",
"voteDtls",
"mtgAttndee",
"spcfcInstrReq"
})
public class Instruction2 {
@XmlElement(name = "InstrId", required = true)
protected String instrId;
@XmlElement(name = "ReqdExctnDt")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar reqdExctnDt;
@XmlElement(name = "VoteExctnConf")
protected boolean voteExctnConf;
@XmlElement(name = "AcctDtls", required = true)
protected SafekeepingAccount4 acctDtls;
@XmlElement(name = "Prxy")
protected Proxy4 prxy;
@XmlElement(name = "VoteDtls")
protected VoteDetails2 voteDtls;
@XmlElement(name = "MtgAttndee")
protected List mtgAttndee;
@XmlElement(name = "SpcfcInstrReq")
protected SpecificInstructionRequest1 spcfcInstrReq;
/**
* 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 Instruction2 setInstrId(String value) {
this.instrId = value;
return this;
}
/**
* Gets the value of the reqdExctnDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getReqdExctnDt() {
return reqdExctnDt;
}
/**
* Sets the value of the reqdExctnDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public Instruction2 setReqdExctnDt(XMLGregorianCalendar value) {
this.reqdExctnDt = value;
return this;
}
/**
* Gets the value of the voteExctnConf property.
*
*/
public boolean isVoteExctnConf() {
return voteExctnConf;
}
/**
* Sets the value of the voteExctnConf property.
*
*/
public Instruction2 setVoteExctnConf(boolean value) {
this.voteExctnConf = value;
return this;
}
/**
* Gets the value of the acctDtls property.
*
* @return
* possible object is
* {@link SafekeepingAccount4 }
*
*/
public SafekeepingAccount4 getAcctDtls() {
return acctDtls;
}
/**
* Sets the value of the acctDtls property.
*
* @param value
* allowed object is
* {@link SafekeepingAccount4 }
*
*/
public Instruction2 setAcctDtls(SafekeepingAccount4 value) {
this.acctDtls = value;
return this;
}
/**
* Gets the value of the prxy property.
*
* @return
* possible object is
* {@link Proxy4 }
*
*/
public Proxy4 getPrxy() {
return prxy;
}
/**
* Sets the value of the prxy property.
*
* @param value
* allowed object is
* {@link Proxy4 }
*
*/
public Instruction2 setPrxy(Proxy4 value) {
this.prxy = value;
return this;
}
/**
* Gets the value of the voteDtls property.
*
* @return
* possible object is
* {@link VoteDetails2 }
*
*/
public VoteDetails2 getVoteDtls() {
return voteDtls;
}
/**
* Sets the value of the voteDtls property.
*
* @param value
* allowed object is
* {@link VoteDetails2 }
*
*/
public Instruction2 setVoteDtls(VoteDetails2 value) {
this.voteDtls = value;
return this;
}
/**
* Gets the value of the mtgAttndee 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 mtgAttndee property.
*
*
* For example, to add a new item, do as follows:
*
* getMtgAttndee().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link IndividualPerson17 }
*
*
*/
public List getMtgAttndee() {
if (mtgAttndee == null) {
mtgAttndee = new ArrayList();
}
return this.mtgAttndee;
}
/**
* Gets the value of the spcfcInstrReq property.
*
* @return
* possible object is
* {@link SpecificInstructionRequest1 }
*
*/
public SpecificInstructionRequest1 getSpcfcInstrReq() {
return spcfcInstrReq;
}
/**
* Sets the value of the spcfcInstrReq property.
*
* @param value
* allowed object is
* {@link SpecificInstructionRequest1 }
*
*/
public Instruction2 setSpcfcInstrReq(SpecificInstructionRequest1 value) {
this.spcfcInstrReq = 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 mtgAttndee list.
* @see #getMtgAttndee()
*
*/
public Instruction2 addMtgAttndee(IndividualPerson17 mtgAttndee) {
getMtgAttndee().add(mtgAttndee);
return this;
}
}