Modifier and Type | Method and Description |
---|---|
static EntityViolationType |
EntityViolationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityViolationType[] |
EntityViolationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Map<Class<?>,Set<EntityViolationType>> |
InvalidEntityException.getViolations() |
Modifier and Type | Method and Description |
---|---|
boolean |
InvalidEntityException.hasViolation(EntityViolationType type) |
Constructor and Description |
---|
InvalidEntityException(Class<?> entityClass,
EntityViolationType entityViolationType,
String message)
Constructs a singleton map of violations from given parameters.
|
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractValidator.getTemplate(EntityViolationType type,
String message) |
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.