com.ibm.tws.objects.model.validator
Class WorkstationValidator

java.lang.Object
  extended bycom.ibm.tws.objects.validator.Validator
      extended bycom.ibm.tws.objects.model.validator.ModelValidator
          extended bycom.ibm.tws.objects.model.validator.WorkstationValidator

public class WorkstationValidator
extends ModelValidator

This class provides methods that can be used to validate Workstation, WorkstationHeader and FlowTargetKey objects.


Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Constructor Summary
WorkstationValidator(java.util.Locale locale)
          Creates a new WorkstationValidator, using the specified locale for error messages.
 
Method Summary
 void validateHeader(WorkstationHeader workstationHeader)
          Validates a WorkstationHeader object.
 void validateKey(FlowTargetKey workstationKey)
          Validates a FlowTargetKey object.
 void validateObject(Workstation workstation)
          Validates a Workstation object.
 
Methods inherited from class com.ibm.tws.objects.model.validator.ModelValidator
checkResolutionData, checkTimeRestrictions
 
Methods inherited from class com.ibm.tws.objects.validator.Validator
checkAlphabetic, checkAlphaNumeric, checkComparison, checkComparison, checkComparison, checkConstraint, checkConstraint, checkFilter, checkInstanceOf, checkInternetAddress, checkLength, checkListFilter, checkNotAllowedChars, checkNotAllowedStart, checkNotNull, checkNotNull, checkNotNull, checkNotNull, checkNotNull, checkNumeric, checkRange, checkRange, checkRange, checkStartWithAlphabetic, checkStartWithAlphaNumeric, checkStartWithNumeric, checkValue, checkValue, checkValue, getLength, getLocale, getLocalizedField, getLocalizedValue, getObjectName, setObjectName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.

Constructor Detail

WorkstationValidator

public WorkstationValidator(java.util.Locale locale)
Creates a new WorkstationValidator, using the specified locale for error messages.

Parameters:
locale - The locale requested for error messages.
Method Detail

validateKey

public void validateKey(FlowTargetKey workstationKey)
                 throws ValidatorException
Validates a FlowTargetKey object. This method just calls validateKey() on FlowTargetValidator.

Parameters:
workstationKey - The FlowTargetKey object to be validated.
Throws:
ValidatorException - The object is not null and the validation has failed.

validateHeader

public void validateHeader(WorkstationHeader workstationHeader)
                    throws ValidatorException
Validates a WorkstationHeader object.

Parameters:
workstationHeader - The WorkstationHeader object to be validated.
Throws:
ValidatorException - The object is not null and the validation has failed.

validateObject

public void validateObject(Workstation workstation)
                    throws ValidatorException
Validates a Workstation object.

Parameters:
workstation - The Workstation object to be validated.
Throws:
ValidatorException - The object is not null and the validation has failed.


Copyright © 2005 IBM All Rights Reserved.