pl.edu.agh.cast.model.attributes.validation
Class IntegerAttributeValidator
java.lang.Object
pl.edu.agh.cast.model.attributes.validation.AttributeValidator
pl.edu.agh.cast.model.attributes.validation.IntegerAttributeValidator
- All Implemented Interfaces:
- Serializable
public class IntegerAttributeValidator
- extends AttributeValidator
- implements Serializable
Class validating integer value type.
- Author:
- AGH CAST Team
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegerAttributeValidator
public IntegerAttributeValidator()
convert
public Object convert(String value)
-
- Specified by:
convert
in class AttributeValidator
- See Also:
AttributeValidator.convert(java.lang.String)
checkFormat
public boolean checkFormat(String value)
-
- Specified by:
checkFormat
in class AttributeValidator
- See Also:
AttributeValidator.checkFormat(java.lang.String)
getTypeClass
public Class<?> getTypeClass()
- Gets class associated with specific property type.
- Specified by:
getTypeClass
in class AttributeValidator
- Returns:
- class associated with property type
- See Also:
AttributeValidator.getTypeClass()
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.