com.atlassian.bamboo.ww2.validators
Class DependentFieldRequiredValidator

java.lang.Object
  extended by com.opensymphony.xwork.validator.validators.ValidatorSupport
      extended by com.atlassian.bamboo.ww2.validators.DependentFieldRequiredValidator
All Implemented Interfaces:
com.opensymphony.xwork.validator.ShortCircuitableValidator, com.opensymphony.xwork.validator.Validator

public class DependentFieldRequiredValidator
extends com.opensymphony.xwork.validator.validators.ValidatorSupport


Field Summary
 
Fields inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport
defaultMessage, log, messageKey
 
Constructor Summary
DependentFieldRequiredValidator()
           
 
Method Summary
 java.lang.String getFieldName1()
           
 java.lang.String getFieldName2()
           
 void setFieldName1(java.lang.String fieldName1)
           
 void setFieldName2(java.lang.String fieldName2)
           
 void validate(java.lang.Object object)
           
 
Methods inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport
addActionError, addFieldError, conditionalParse, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getParse, getValidatorContext, getValidatorType, isShortCircuit, setDefaultMessage, setMessageKey, setMessageParameters, setParse, setShortCircuit, setValidatorContext, setValidatorType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependentFieldRequiredValidator

public DependentFieldRequiredValidator()
Method Detail

validate

public void validate(java.lang.Object object)
              throws com.opensymphony.xwork.validator.ValidationException
Throws:
com.opensymphony.xwork.validator.ValidationException

getFieldName1

public java.lang.String getFieldName1()

setFieldName1

public void setFieldName1(java.lang.String fieldName1)

getFieldName2

public java.lang.String getFieldName2()

setFieldName2

public void setFieldName2(java.lang.String fieldName2)


Copyright © 2010 Atlassian. All Rights Reserved.