org.sapia.validator
Interface Validatable

All Known Implementing Classes:
AbstractMinMax, BeanRule, CompositeRule, ForEach, GroovyRule, IfDefined, Mandatory, MandatoryString, MaxDouble, MaxFloat, MaxInt, MaxLen, MaxLong, MaxSize, MinDouble, MinFloat, MinInt, MinLen, MinLong, MinSize, PositiveRule, RegEx, Rule, RuleRef, RuleSet, RuleSetRef, Select

public interface Validatable

Specifies the behavior of objects that can be "validated".

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

Method Summary
 java.lang.String getId()
          Returns this instance's unique identifier.
 void validate(ValidationContext ctx)
          Validates this instance.
 

Method Detail

getId

java.lang.String getId()
Returns this instance's unique identifier.

Returns:
a unique identifier.

validate

void validate(ValidationContext ctx)
Validates this instance.

Parameters:
a - ValidationContext.


Copyright © 2011 Sapia OSS. All Rights Reserved.