com.softwareag.centrasite.appl.framework.validation.impl
Class ValidatableFactory.Context

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.ioc.DefaultIOCProvider
      extended by com.softwareag.centrasite.appl.framework.validation.impl.ValidatableFactory.Context
All Implemented Interfaces:
com.softwareag.centrasite.appl.framework.ioc.IOCProvider
Enclosing class:
ValidatableFactory

public static class ValidatableFactory.Context
extends com.softwareag.centrasite.appl.framework.ioc.DefaultIOCProvider

The per-thread context of the IOC provider.


Constructor Summary
ValidatableFactory.Context(ValidatableFactory pValidatableFactory)
          Creates a new instance with the given ValidatableFactory.
 
Method Summary
 ConditionFactory getConditionFactory()
          Returns the condition factory.
 ConstraintFactory getConstraintFactory()
          Returns the constraint factory.
 ErrorCodeFactory getErrorCodeFactory()
          Returns the error code factory.
 java.lang.reflect.Method getGetter()
          Returns the currently processed validatables getter.
 java.lang.String getId()
          Returns the current validatables id.
 java.lang.String getName()
          Returns the current validatables name.
 java.lang.String getProperty()
          Returns the current property name.
 ScopeFactory getScopeFactory()
          Returns the scope factory.
 java.lang.reflect.Method getSetter()
          Returns the currently processed validatables setter.
 ValidatableFactory getValidatableFactory()
          Returns the validatable factory.
 ValidationDefaults getValidationDefaults()
          Returns the factories validation defaults.
 java.lang.Object getValue(java.lang.String pProperty)
           
 
Methods inherited from class com.softwareag.centrasite.appl.framework.ioc.DefaultIOCProvider
getProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatableFactory.Context

public ValidatableFactory.Context(ValidatableFactory pValidatableFactory)
Creates a new instance with the given ValidatableFactory.

Method Detail

getValidationDefaults

public ValidationDefaults getValidationDefaults()
Returns the factories validation defaults.


getValidatableFactory

public ValidatableFactory getValidatableFactory()
Returns the validatable factory.


getSetter

public java.lang.reflect.Method getSetter()
                                   throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Returns the currently processed validatables setter.

Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException

getGetter

public java.lang.reflect.Method getGetter()
                                   throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Returns the currently processed validatables getter.

Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException

getProperty

public java.lang.String getProperty()
                             throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Returns the current property name.

Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException

getValue

public java.lang.Object getValue(java.lang.String pProperty)
                          throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Specified by:
getValue in interface com.softwareag.centrasite.appl.framework.ioc.IOCProvider
Overrides:
getValue in class com.softwareag.centrasite.appl.framework.ioc.DefaultIOCProvider
Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException

getId

public java.lang.String getId()
Returns the current validatables id.

See Also:
Validatable.id()

getName

public java.lang.String getName()
Returns the current validatables name.

See Also:
Validatable.name()

getErrorCodeFactory

public ErrorCodeFactory getErrorCodeFactory()
                                     throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Returns the error code factory.

Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException

getConstraintFactory

public ConstraintFactory getConstraintFactory()
                                       throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Returns the constraint factory.

Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException

getConditionFactory

public ConditionFactory getConditionFactory()
                                     throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Returns the condition factory.

Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException

getScopeFactory

public ScopeFactory getScopeFactory()
                             throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Returns the scope factory.

Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException