fish.focus.schema.exchange.v1.LogValidationResult Maven / Gradle / Ivy
package fish.focus.schema.exchange.v1;
import java.io.Serializable;
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 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;
/**
* Java class for LogValidationResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="LogValidationResult">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="level" type="{urn:exchange.schema.focus.fish:v1}RuleValidationLevel"/>
* <element name="status" type="{urn:exchange.schema.focus.fish:v1}RuleValidationStatus"/>
* <element name="xpaths" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="note" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="expression" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="entity" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LogValidationResult", propOrder = {
"id",
"level",
"status",
"xpaths",
"note",
"expression",
"entity",
"message"
})
public class LogValidationResult
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected String id;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected RuleValidationLevel level;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected RuleValidationStatus status;
@XmlElement(required = true)
protected String xpaths;
@XmlElement(required = true)
protected String note;
@XmlElement(required = true)
protected String expression;
@XmlElement(required = true)
protected String entity;
@XmlElement(required = true)
protected String message;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the level property.
*
* @return
* possible object is
* {@link RuleValidationLevel }
*
*/
public RuleValidationLevel getLevel() {
return level;
}
/**
* Sets the value of the level property.
*
* @param value
* allowed object is
* {@link RuleValidationLevel }
*
*/
public void setLevel(RuleValidationLevel value) {
this.level = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link RuleValidationStatus }
*
*/
public RuleValidationStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link RuleValidationStatus }
*
*/
public void setStatus(RuleValidationStatus value) {
this.status = value;
}
/**
* Gets the value of the xpaths property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXpaths() {
return xpaths;
}
/**
* Sets the value of the xpaths property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setXpaths(String value) {
this.xpaths = value;
}
/**
* Gets the value of the note property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNote() {
return note;
}
/**
* Sets the value of the note property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNote(String value) {
this.note = value;
}
/**
* Gets the value of the expression property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExpression() {
return expression;
}
/**
* Sets the value of the expression property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExpression(String value) {
this.expression = value;
}
/**
* Gets the value of the entity property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEntity() {
return entity;
}
/**
* Sets the value of the entity property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEntity(String value) {
this.entity = value;
}
/**
* Gets the value of the message property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessage(String value) {
this.message = value;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}