All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.phillipkruger.apiee.providers.ValidationError Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
package com.github.phillipkruger.apiee.providers;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Simple POJO that defines a Error
 * @author Phillip Kruger ([email protected])
 */
@Data
@AllArgsConstructor @NoArgsConstructor
@XmlRootElement  
@XmlAccessorType(XmlAccessType.FIELD)
public class ValidationError {
    
    @XmlAttribute
    @Getter @Setter
    private String message;
    
    @XmlAttribute
    @Getter @Setter
    private String path = "";
    
    @XmlAttribute
    @Getter @Setter
    private String invalidValue = "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy