public class SimpleViolationsContainer extends Object implements Serializable
Constructor and Description |
---|
SimpleViolationsContainer(Object target) |
SimpleViolationsContainer(Set<javax.validation.ConstraintViolation<Object>> cvs) |
Modifier and Type | Method and Description |
---|---|
void |
addViolations(Set<javax.validation.ConstraintViolation<Object>> cvs) |
Exception |
getException() |
Object |
getTarget() |
Set<javax.validation.ConstraintViolation<Object>> |
getViolations() |
boolean |
isFieldsValidated() |
void |
setException(Exception exception) |
void |
setFieldsValidated(boolean fieldsValidated) |
void |
setTarget(Object target) |
int |
size() |
public SimpleViolationsContainer(Object target)
public int size()
public Exception getException()
public void setException(Exception exception)
public Object getTarget()
public void setTarget(Object target)
public boolean isFieldsValidated()
public void setFieldsValidated(boolean fieldsValidated)
Copyright © 2021 JBoss by Red Hat. All rights reserved.