org.springframework.binding.validation.support
Class ValidatingObject

Show UML class diagram
java.lang.Object
  extended by org.springframework.binding.validation.support.ValidatingObject

public class ValidatingObject
extends Object


Constructor Summary
ValidatingObject()
           
 
Method Summary
 int getIntValue()
           
 String getStringValue()
           
 boolean intShouldBeEightAndStringShouldBeValid()
           
 void setIntValue(int intValue)
           
 void setStringValue(String stringValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatingObject

public ValidatingObject()
Method Detail

getStringValue

@NotEmpty
public String getStringValue()

setStringValue

public void setStringValue(String stringValue)

getIntValue

@Range(min=5L,
       max=15L)
public int getIntValue()

setIntValue

public void setIntValue(int intValue)

intShouldBeEightAndStringShouldBeValid

@AssertTrue
public boolean intShouldBeEightAndStringShouldBeValid()


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.