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

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

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

import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * Simple POJO that defines a list of errors
 * @author Phillip Kruger ([email protected])
 */
@Data
@XmlRootElement  
@XmlAccessorType(XmlAccessType.FIELD)
@AllArgsConstructor @NoArgsConstructor
public class ValidationErrors {
    
    @XmlElementRef(type = ValidationError.class)
    @NotNull
    private List validationError = new ArrayList<>();
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy