org.equanda.validation
Class UniqueConverterAdapter
java.lang.Object
org.equanda.validation.UniqueConverterAdapter
- All Implemented Interfaces:
- UniqueConverter
public class UniqueConverterAdapter
- extends Object
- implements UniqueConverter
Adapter class for Converted validation, extend and overwrite according to the correct type.
- Author:
- NetRom team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniqueConverterAdapter
public UniqueConverterAdapter()
getConvertedString
public String getConvertedString(String string)
throws EquandaConstraintViolation
- Specified by:
getConvertedString
in interface UniqueConverter
- Throws:
EquandaConstraintViolation
getConvertedBoolean
public boolean getConvertedBoolean(boolean bool)
throws EquandaConstraintViolation
- Specified by:
getConvertedBoolean
in interface UniqueConverter
- Throws:
EquandaConstraintViolation
getConvertedDate
public Date getConvertedDate(Date date)
throws EquandaConstraintViolation
- Specified by:
getConvertedDate
in interface UniqueConverter
- Throws:
EquandaConstraintViolation
getConvertedTimestamp
public Timestamp getConvertedTimestamp(Timestamp time)
throws EquandaConstraintViolation
- Specified by:
getConvertedTimestamp
in interface UniqueConverter
- Throws:
EquandaConstraintViolation
getConvertedInt
public int getConvertedInt(int number)
throws EquandaConstraintViolation
- Specified by:
getConvertedInt
in interface UniqueConverter
- Throws:
EquandaConstraintViolation
getConvertedDouble
public double getConvertedDouble(double number)
throws EquandaConstraintViolation
- Specified by:
getConvertedDouble
in interface UniqueConverter
- Throws:
EquandaConstraintViolation
Copyright © 2007-2009. All Rights Reserved.