org.springframework.richclient.samples.showcase.validation
Class StringLenghtConstraintDialog.StringLengthValue

java.lang.Object
  extended by org.springframework.richclient.samples.showcase.validation.StringLenghtConstraintDialog.StringLengthValue
All Implemented Interfaces:
PropertyConstraintProvider
Enclosing class:
StringLenghtConstraintDialog

public class StringLenghtConstraintDialog.StringLengthValue
extends Object
implements PropertyConstraintProvider


Constructor Summary
StringLenghtConstraintDialog.StringLengthValue()
           
 
Method Summary
 int getLength()
           
 int getMaxLength()
           
 int getMinLength()
           
 PropertyConstraint getPropertyConstraint(String propertyName)
          Returns the constraint on the given property.
 RelationalOperator getRelationalOperator()
           
 String getValue()
           
 boolean isRangeConstraint()
           
 void setLength(int length)
           
 void setMaxLength(int maxLength)
           
 void setMinLength(int minLength)
           
 void setRangeConstraint(boolean rangeConstraint)
           
 void setRelationalOperator(RelationalOperator relationalOperator)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringLenghtConstraintDialog.StringLengthValue

public StringLenghtConstraintDialog.StringLengthValue()
Method Detail

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.