com.aurel.track.fieldType.runtime.validators
Class IntegerValidator

java.lang.Object
  extended by com.aurel.track.fieldType.runtime.validators.IntegerValidator
All Implemented Interfaces:
Validator

public class IntegerValidator
extends java.lang.Object
implements Validator


Constructor Summary
IntegerValidator()
           
 
Method Summary
 java.lang.Integer getMaxValue()
           
 java.lang.Integer getMinValue()
           
 void setMaxValue(java.lang.Integer maxValue)
           
 void setMinValue(java.lang.Integer minValue)
           
 ErrorData validateField(java.lang.Object value)
          Implements the integer validator Validates an attribute for a field and returns a map in case of validation error - key: fieldID - value: ValidatorData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerValidator

public IntegerValidator()
Method Detail

getMaxValue

public java.lang.Integer getMaxValue()

setMaxValue

public void setMaxValue(java.lang.Integer maxValue)

getMinValue

public java.lang.Integer getMinValue()

setMinValue

public void setMinValue(java.lang.Integer minValue)

validateField

public ErrorData validateField(java.lang.Object value)
Implements the integer validator Validates an attribute for a field and returns a map in case of validation error - key: fieldID - value: ValidatorData

Specified by:
validateField in interface Validator
Parameters:
value - TODO
Returns:


Issue Tracking with Track+: Home Page      Copyright © 2008 Trackplus. All Rights Reserved.