portal.core.validate.rule
Class CollectionNotEmpty

java.lang.Object
  extended byportal.core.validate.rule.ValidationRule
      extended byportal.core.validate.rule.CollectionNotEmpty
All Implemented Interfaces:
IValidatable, java.io.Serializable

public class CollectionNotEmpty
extends ValidationRule

See Also:
Serialized Form

Constructor Summary
CollectionNotEmpty(java.util.Collection collection)
           
 
Method Summary
protected  boolean validateRule(IValidationContext ctx)
           
 
Methods inherited from class portal.core.validate.rule.ValidationRule
validate, validationFailed, validationPassed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionNotEmpty

public CollectionNotEmpty(java.util.Collection collection)
Method Detail

validateRule

protected boolean validateRule(IValidationContext ctx)
Specified by:
validateRule in class ValidationRule