Interface AttributeDefValidationInterface
- All Known Implementing Classes:
AttributeDefValidationDef
public interface AttributeDefValidationInterface
-
Method Summary
Modifier and TypeMethodDescriptionformatFromDb(Object input, String argument0, String argument1) format an inputformatToDb(Object input, String argument0, String argument1) format an inputname()name of this validationvalidate that an object is not null
-
Method Details
-
name
String name()name of this validation- Returns:
- the name of this validation
-
formatToDb
format an input- Parameters:
input-argument0-argument1-- Returns:
- the string, integer, double, or memberId
- Throws:
AttributeDefValidationNotImplemented
-
validate
validate that an object is not null- Parameters:
input-argument0-argument1-- Returns:
- the error string if there is one
- Throws:
AttributeDefValidationNotImplemented
-
formatFromDb
format an input- Parameters:
input- could be integer, string, double, or memberIdargument0-argument1-- Returns:
- the representation for a screen
- Throws:
AttributeDefValidationNotImplemented
-