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