org.lexgrid.loader.processor.support.validator
Class NamespaceSizeValidator

java.lang.Object
  extended by org.lexgrid.loader.processor.support.validator.NamespaceSizeValidator
All Implemented Interfaces:
org.springframework.batch.item.validator.Validator<AssociationSource>

public class NamespaceSizeValidator
extends java.lang.Object
implements org.springframework.batch.item.validator.Validator<AssociationSource>

The Class NamespaceSizeValidator.

Author:
Kevin Peterson

Constructor Summary
NamespaceSizeValidator()
           
 
Method Summary
 int getMaxNamespaceLength()
          Gets the max namespace length.
 void setMaxNamespaceLength(int maxNamespaceLength)
          Sets the max namespace length.
 void validate(AssociationSource item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespaceSizeValidator

public NamespaceSizeValidator()
Method Detail

validate

public void validate(AssociationSource item)
              throws org.springframework.batch.item.validator.ValidationException
Specified by:
validate in interface org.springframework.batch.item.validator.Validator<AssociationSource>
Throws:
org.springframework.batch.item.validator.ValidationException

getMaxNamespaceLength

public int getMaxNamespaceLength()
Gets the max namespace length.

Returns:
the max namespace length

setMaxNamespaceLength

public void setMaxNamespaceLength(int maxNamespaceLength)
Sets the max namespace length.

Parameters:
maxNamespaceLength - the new max namespace length

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.