org.compiere.framework
Class FieldvalueValidator
java.lang.Object
org.compiere.framework.FieldvalueValidator
public class FieldvalueValidator
- extends Object
Field Value Validator
- Version:
- $Id$
- Author:
- Jorg Janke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldvalueValidator
public FieldvalueValidator(UIField field)
FieldvalueValidator
public FieldvalueValidator(POInfoColumn info)
validateAsString
public String validateAsString(String newValue)
throws CompiereValueException
- Validate new Value as String
- Parameters:
newValue - new value
- Returns:
- validated value or null
- Throws:
CompiereValueException
validate
public Object validate(Object newValue)
throws CompiereValueException
- Throws:
CompiereValueException
validate
public String validate(String newValue)
throws CompiereValueException
- Throws:
CompiereValueException
validate
public Integer validate(Integer newValue)
throws CompiereValueException
- Throws:
CompiereValueException
validate
public BigDecimal validate(BigDecimal newValue)
throws CompiereValueException
- Throws:
CompiereValueException
validate
public Timestamp validate(Timestamp newValue)
throws CompiereValueException
- Throws:
CompiereValueException
Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.