org.carrot2.util.attribute.constraint
Class PassesValueOfConstraint

java.lang.Object
  extended by org.carrot2.util.attribute.constraint.Constraint
      extended by org.carrot2.util.attribute.constraint.PassesValueOfConstraint

public class PassesValueOfConstraint
extends Constraint


Field Summary
 
Fields inherited from class org.carrot2.util.attribute.constraint.Constraint
annotation
 
Method Summary
protected  boolean isMet(Object value)
          Checks if the provided value meets this constraint.
protected  void populateCustom(Annotation annotation)
           
 
Methods inherited from class org.carrot2.util.attribute.constraint.Constraint
checkAssignableFrom, populate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isMet

protected boolean isMet(Object value)
Description copied from class: Constraint
Checks if the provided value meets this constraint.

Specified by:
isMet in class Constraint

populateCustom

protected void populateCustom(Annotation annotation)
Overrides:
populateCustom in class Constraint


Copyright (c) Dawid Weiss, Stanislaw Osinski