org.kuali.kfs.sys.document.validation.impl
Class ReferenceExistsValidation

java.lang.Object
  extended by org.kuali.kfs.sys.document.validation.ParameterizedValidation
      extended by org.kuali.kfs.sys.document.validation.GenericValidation
          extended by org.kuali.kfs.sys.document.validation.impl.ReferenceExistsValidation
All Implemented Interfaces:
Validation

public class ReferenceExistsValidation
extends GenericValidation

Validation to check if a reference of a validation


Constructor Summary
ReferenceExistsValidation()
           
 
Method Summary
 org.kuali.rice.kns.bo.PersistableBusinessObject getBusinessObjectToValidate()
          Gets the businessObjectToValidate attribute.
 String getReferenceName()
          Gets the referenceName attribute.
 String getResponsibleProperty()
          Gets the responsibleProperty attribute.
 void setBusinessObjectToValidate(org.kuali.rice.kns.bo.PersistableBusinessObject businessObjectToValidate)
          Sets the businessObjectToValidate attribute value.
 void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
          Sets the dataDictionaryService attribute value.
 void setDictionaryValidationService(org.kuali.rice.kns.service.DictionaryValidationService dictionaryValidationService)
          Sets the dictionaryValidationService attribute value.
 void setReferenceName(String referenceName)
          Sets the referenceName attribute value.
 void setResponsibleProperty(String responsibleProperty)
          Sets the responsibleProperty attribute value.
 boolean validate(AttributedDocumentEvent event)
          This method validates that certain parameters
 
Methods inherited from class org.kuali.kfs.sys.document.validation.GenericValidation
setQuitOnFail, shouldQuitOnFail, stageValidation
 
Methods inherited from class org.kuali.kfs.sys.document.validation.ParameterizedValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceExistsValidation

public ReferenceExistsValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Description copied from interface: Validation
This method validates that certain parameters

Returns:
true if validation should continue, false otherwise
See Also:
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)

getBusinessObjectToValidate

public org.kuali.rice.kns.bo.PersistableBusinessObject getBusinessObjectToValidate()
Gets the businessObjectToValidate attribute.

Returns:
Returns the businessObjectToValidate.

setBusinessObjectToValidate

public void setBusinessObjectToValidate(org.kuali.rice.kns.bo.PersistableBusinessObject businessObjectToValidate)
Sets the businessObjectToValidate attribute value.

Parameters:
businessObjectToValidate - The businessObjectToValidate to set.

getReferenceName

public String getReferenceName()
Gets the referenceName attribute.

Returns:
Returns the referenceName.

setReferenceName

public void setReferenceName(String referenceName)
Sets the referenceName attribute value.

Parameters:
referenceName - The referenceName to set.

getResponsibleProperty

public String getResponsibleProperty()
Gets the responsibleProperty attribute.

Returns:
Returns the responsibleProperty.

setResponsibleProperty

public void setResponsibleProperty(String responsibleProperty)
Sets the responsibleProperty attribute value.

Parameters:
responsibleProperty - The responsibleProperty to set.

setDictionaryValidationService

public void setDictionaryValidationService(org.kuali.rice.kns.service.DictionaryValidationService dictionaryValidationService)
Sets the dictionaryValidationService attribute value.

Parameters:
dictionaryValidationService - The dictionaryValidationService to set.

setDataDictionaryService

public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
Sets the dataDictionaryService attribute value.

Parameters:
dataDictionaryService - The dataDictionaryService to set.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.