com.prowidesoftware.swift.model.mx.dic.DigestedData5 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.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;
/**
* Digest computed on the identified data.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DigestedData5", propOrder = {
"vrsn",
"dgstAlgo",
"ncpsltdCntt",
"dgst"
})
public class DigestedData5 {
@XmlElement(name = "Vrsn")
protected BigDecimal vrsn;
@XmlElement(name = "DgstAlgo", required = true)
protected AlgorithmIdentification21 dgstAlgo;
@XmlElement(name = "NcpsltdCntt", required = true)
protected EncapsulatedContent3 ncpsltdCntt;
@XmlElement(name = "Dgst", required = true)
protected byte[] dgst;
/**
* Gets the value of the vrsn property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getVrsn() {
return vrsn;
}
/**
* Sets the value of the vrsn property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public DigestedData5 setVrsn(BigDecimal value) {
this.vrsn = value;
return this;
}
/**
* Gets the value of the dgstAlgo property.
*
* @return
* possible object is
* {@link AlgorithmIdentification21 }
*
*/
public AlgorithmIdentification21 getDgstAlgo() {
return dgstAlgo;
}
/**
* Sets the value of the dgstAlgo property.
*
* @param value
* allowed object is
* {@link AlgorithmIdentification21 }
*
*/
public DigestedData5 setDgstAlgo(AlgorithmIdentification21 value) {
this.dgstAlgo = value;
return this;
}
/**
* Gets the value of the ncpsltdCntt property.
*
* @return
* possible object is
* {@link EncapsulatedContent3 }
*
*/
public EncapsulatedContent3 getNcpsltdCntt() {
return ncpsltdCntt;
}
/**
* Sets the value of the ncpsltdCntt property.
*
* @param value
* allowed object is
* {@link EncapsulatedContent3 }
*
*/
public DigestedData5 setNcpsltdCntt(EncapsulatedContent3 value) {
this.ncpsltdCntt = value;
return this;
}
/**
* Gets the value of the dgst property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getDgst() {
return dgst;
}
/**
* Sets the value of the dgst property.
*
* @param value
* allowed object is
* byte[]
*/
public DigestedData5 setDgst(byte[] value) {
this.dgst = 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