org.springframework.binding.validation.support
Class ValidatingObject
java.lang.Object
org.springframework.binding.validation.support.ValidatingObject
public class ValidatingObject
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidatingObject
public ValidatingObject()
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.