V
- The type of value to be validatedpublic abstract class CorrectConstraint<V> extends AbstractValidation<V> implements Constraint<V>
Constraint
interface that modifies (corrects) value and never throws
ConstraintViolationException
.Constructor and Description |
---|
CorrectConstraint() |
Modifier and Type | Method and Description |
---|---|
String |
getMessageTemplate(ValidationContext<?> context)
CorrectConstraint s have no error message. |
appendMessageArguments
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendMessageArguments, getType, validate
public final String getMessageTemplate(ValidationContext<?> context)
CorrectConstraint
s have no error message.getMessageTemplate
in interface Constraint<V>
getMessageTemplate
in interface Validation<V>
getMessageTemplate
in class AbstractValidation<V>
context
- Validation context.null
.Copyright © 2011–2020 FoxLabs. All rights reserved.