org.springframework.richclient.samples.showcase.validation
Class StringLenghtConstraintDialog.StringLengthValue
java.lang.Object
org.springframework.richclient.samples.showcase.validation.StringLenghtConstraintDialog.StringLengthValue
- All Implemented Interfaces:
- PropertyConstraintProvider
- Enclosing class:
- StringLenghtConstraintDialog
public class StringLenghtConstraintDialog.StringLengthValue
- extends Object
- implements PropertyConstraintProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringLenghtConstraintDialog.StringLengthValue
public StringLenghtConstraintDialog.StringLengthValue()
getLength
public int getLength()
setLength
public void setLength(int length)
getRelationalOperator
public RelationalOperator getRelationalOperator()
setRelationalOperator
public void setRelationalOperator(RelationalOperator relationalOperator)
getMinLength
public int getMinLength()
setMinLength
public void setMinLength(int minLength)
getMaxLength
public int getMaxLength()
setMaxLength
public void setMaxLength(int maxLength)
setRangeConstraint
public void setRangeConstraint(boolean rangeConstraint)
isRangeConstraint
public boolean isRangeConstraint()
getValue
public String getValue()
setValue
public void setValue(String value)
getPropertyConstraint
public PropertyConstraint getPropertyConstraint(String propertyName)
- Description copied from interface:
PropertyConstraintProvider
- Returns the constraint on the given property.
- Specified by:
getPropertyConstraint
in interface PropertyConstraintProvider
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.