| org.netbeans.modules.schema2beansdev.DataListRestriction
DataListRestriction | public interface DataListRestriction (Code) | | |
Method Summary | |
public void | genRestriction(Writer out, String sizeExpr, String readMethod, String type, String failVar, boolean passCheck) Generate some Java code to test @param readMethod of type @param type or @param sizeExpr
to see if it passes this restriction. |
genRestriction | public void genRestriction(Writer out, String sizeExpr, String readMethod, String type, String failVar, boolean passCheck) throws IOException(Code) | | Generate some Java code to test @param readMethod of type @param type or @param sizeExpr
to see if it passes this restriction. If it fails, then @param failVar
will be set to true. @param failVar should be the name of a boolean
variable.
|
|
|