com.softwareag.centrasite.appl.framework.validation.impl
Class IntegerConditionFactory

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.validation.impl.AbstractTypeConditionFactory
      extended by com.softwareag.centrasite.appl.framework.validation.impl.IntegerConditionFactory
All Implemented Interfaces:
ConditionFactory

public class IntegerConditionFactory
extends AbstractTypeConditionFactory

A condition factory for integer properties.


Nested Class Summary
static class IntegerConditionFactory.LimitCondition
          This condition checks, whether the property value violates an upper, or lower limit.
static class IntegerConditionFactory.RangeCondition
          This condition checks, whether the property value is within a given range.
 
Constructor Summary
IntegerConditionFactory()
           
 
Method Summary
 Condition getCondition(java.lang.String pType, ValidatableFactory.Context pContext, java.lang.String pErrorCode, java.lang.String[] pDescriptions)
          Called to handle the default types.
 
Methods inherited from class com.softwareag.centrasite.appl.framework.validation.impl.AbstractTypeConditionFactory
getCondition, getErrorCode, getParam, getParamIndex, newErrorCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerConditionFactory

public IntegerConditionFactory()
Method Detail

getCondition

public Condition getCondition(java.lang.String pType,
                              ValidatableFactory.Context pContext,
                              java.lang.String pErrorCode,
                              java.lang.String[] pDescriptions)
                       throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Description copied from class: AbstractTypeConditionFactory
Called to handle the default types.

Overrides:
getCondition in class AbstractTypeConditionFactory
Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException