net.sf.farrago.defimpl
Class FarragoDefaultSessionPersonality.ParamValidator
java.lang.Object
net.sf.farrago.defimpl.FarragoDefaultSessionPersonality.ParamValidator
- Enclosing class:
- FarragoDefaultSessionPersonality
public class FarragoDefaultSessionPersonality.ParamValidator
- extends Object
ParamValidator is a basic session parameter validator
Method Summary |
void |
registerBoolParam(String name,
boolean nullability)
|
void |
registerDirectoryParam(String name,
boolean nullability)
|
void |
registerIntParam(String name,
boolean nullability)
|
void |
registerIntParam(String name,
boolean nullability,
int start,
int end)
|
void |
registerLongParam(String name,
boolean nullability,
long start,
long end)
|
void |
registerStringParam(String name,
boolean nullability)
|
String |
validate(FarragoSessionDdlValidator ddlValidator,
String name,
String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BOOLEAN_TYPE
private static final int BOOLEAN_TYPE
- See Also:
- Constant Field Values
INT_TYPE
private static final int INT_TYPE
- See Also:
- Constant Field Values
STRING_TYPE
private static final int STRING_TYPE
- See Also:
- Constant Field Values
DIRECTORY_TYPE
private static final int DIRECTORY_TYPE
- See Also:
- Constant Field Values
LONG_TYPE
private static final int LONG_TYPE
- See Also:
- Constant Field Values
params
private Map<String,FarragoDefaultSessionPersonality.ParamDesc> params
FarragoDefaultSessionPersonality.ParamValidator
public FarragoDefaultSessionPersonality.ParamValidator()
registerBoolParam
public void registerBoolParam(String name,
boolean nullability)
registerIntParam
public void registerIntParam(String name,
boolean nullability)
registerIntParam
public void registerIntParam(String name,
boolean nullability,
int start,
int end)
registerLongParam
public void registerLongParam(String name,
boolean nullability,
long start,
long end)
registerStringParam
public void registerStringParam(String name,
boolean nullability)
registerDirectoryParam
public void registerDirectoryParam(String name,
boolean nullability)
validate
public String validate(FarragoSessionDdlValidator ddlValidator,
String name,
String value)