public class NegativeOrZeroValidatorForMonetaryAmount extends Object implements ConstraintValidator<NegativeOrZero,javax.money.MonetaryAmount>
Constructor and Description |
---|
NegativeOrZeroValidatorForMonetaryAmount() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(javax.money.MonetaryAmount value,
ConstraintValidatorContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
public NegativeOrZeroValidatorForMonetaryAmount()
public boolean isValid(javax.money.MonetaryAmount value, ConstraintValidatorContext context)
isValid
in interface ConstraintValidator<NegativeOrZero,javax.money.MonetaryAmount>
Copyright © 2007-2021 Red Hat, Inc. All Rights Reserved