com.ptc.windchill.esi.evt
Class ESIValidatorImpl

java.lang.Object
  extended bycom.ptc.windchill.esi.evt.ESIValidatorImpl
All Implemented Interfaces:
ESIValidator
Direct Known Subclasses:
ESIChangeOrder2Validator, ESIPartValidator, ESIWTObjectValidator

public abstract class ESIValidatorImpl
extends Object
implements ESIValidator

This is a convenience class that contains methods common to all validators.

Supported API: true

Extendable: true


Field Summary
private static String CLASSNAME
           
protected static ESIPropertyRequest ENFORCE_ORGS
           
protected  boolean enforceOrgs
           
private static String RESOURCE
           
 
Constructor Summary
ESIValidatorImpl()
           
 
Method Summary
protected  void validateInstance(Object object, String name, Class cls)
          Make sure that the argument is not null and that is an instance of the class specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ptc.windchill.esi.evt.ESIValidator
validate
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

enforceOrgs

protected boolean enforceOrgs

ENFORCE_ORGS

protected static final ESIPropertyRequest ENFORCE_ORGS
Constructor Detail

ESIValidatorImpl

public ESIValidatorImpl()
Method Detail

validateInstance

protected void validateInstance(Object object,
                                String name,
                                Class cls)
                         throws ESIEventException
Make sure that the argument is not null and that is an instance of the class specified.

Supported API: true

Parameters:
object -
name -
cls -
Throws:
ESIEventException