com.prowidesoftware.swift.model.mx.dic.UpdateLogRestriction1 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
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;
/**
* Specifies the old and new values for a restriction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UpdateLogRestriction1", propOrder = {
"od",
"_new"
})
public class UpdateLogRestriction1 {
@XmlElement(name = "Od", required = true)
protected Restriction1 od;
@XmlElement(name = "New", required = true)
protected Restriction1 _new;
/**
* Gets the value of the od property.
*
* @return
* possible object is
* {@link Restriction1 }
*
*/
public Restriction1 getOd() {
return od;
}
/**
* Sets the value of the od property.
*
* @param value
* allowed object is
* {@link Restriction1 }
*
*/
public UpdateLogRestriction1 setOd(Restriction1 value) {
this.od = value;
return this;
}
/**
* Gets the value of the new property.
*
* @return
* possible object is
* {@link Restriction1 }
*
*/
public Restriction1 getNew() {
return _new;
}
/**
* Sets the value of the new property.
*
* @param value
* allowed object is
* {@link Restriction1 }
*
*/
public UpdateLogRestriction1 setNew(Restriction1 value) {
this._new = 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