public class ValidationConstraintContext
extends java.lang.Object
ValidationConstraint
.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
protected java.lang.Object |
target |
protected Vtor |
vtor |
Constructor and Description |
---|
ValidationConstraintContext(Vtor vtor,
java.lang.Object target,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns context name.
|
java.lang.Object |
getTarget()
Returns target object containing the value.
|
Vtor |
getValidator()
Returns validator.
|
void |
validateWithin(ValidationContext vctx,
java.lang.Object value)
Validates provided context and value withing this constraint content.
|
protected final Vtor vtor
protected final java.lang.Object target
protected final java.lang.String name
public ValidationConstraintContext(Vtor vtor, java.lang.Object target, java.lang.String name)
public Vtor getValidator()
public java.lang.Object getTarget()
public java.lang.String getName()
public void validateWithin(ValidationContext vctx, java.lang.Object value)
Copyright © 2003-present Jodd Team