|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.ispsoft.jaxme.generator.parserdata.JdbcListMethod
Holds the necessary data for a single "list" method, that is generated for a view.
Constructor Summary | |
JdbcListMethod()
Creates a new instance of JdbcListMethod. |
Method Summary | |
void |
addParam(JdbcAbstractParameter pParam)
Adds a new parameter to the list of parameters. |
void |
clearParams()
Clears the list of parameters. |
JdbcAbstractParameter[] |
getAllParams()
Returns the array of parameters. |
java.lang.String |
getDescription()
Returns the method description. |
int |
getMaxResultSize()
Returns the maximum result size, -1 for "unbounded". |
int |
getMinResultSize()
Returns the minimum result size. |
java.lang.String |
getName()
Returns the method name. |
JdbcParam[] |
getParams()
Returns the array of placeholders. |
java.lang.String |
getPatternPart(int pNum)
Returns the fixed part of the query with the given number. |
JdbcPattern[] |
getPatterns()
Returns the array of patterns. |
JdbcPlaceHolders[] |
getPlaceHolders()
Returns the array of placeholder arrays. |
java.lang.String |
getQuery()
Returns the query. |
boolean |
isResultCollection()
Returns true, if the maximum result size is > 1 or -1 ("unbounded"). |
void |
setDescription(java.lang.String pDescription)
Sets the method description. |
void |
setMaxResultSize(int pMaxResultSize)
Sets the maximum result size. |
void |
setMinResultSize(int pMinResultSize)
Sets the minimum result size. |
void |
setName(java.lang.String pName)
Sets the method name. |
void |
setQuery(java.lang.String pQuery)
Sets the query. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JdbcListMethod()
Method Detail |
public java.lang.String getName()
Returns the method name.
public void setName(java.lang.String pName)
Sets the method name.
public java.lang.String getQuery()
Returns the query.
public void setQuery(java.lang.String pQuery)
Sets the query.
public JdbcAbstractParameter[] getAllParams()
Returns the array of parameters.
public JdbcParam[] getParams()
Returns the array of placeholders.
public JdbcPattern[] getPatterns()
Returns the array of patterns.
public JdbcPlaceHolders[] getPlaceHolders()
Returns the array of placeholder arrays.
public void addParam(JdbcAbstractParameter pParam)
Adds a new parameter to the list of parameters.
public void clearParams()
Clears the list of parameters.
public int getMinResultSize()
Returns the minimum result size.
public void setMinResultSize(int pMinResultSize)
Sets the minimum result size.
public int getMaxResultSize()
Returns the maximum result size, -1 for "unbounded".
public void setMaxResultSize(int pMaxResultSize)
Sets the maximum result size. Use -1 for "unbounded".
public boolean isResultCollection()
Returns true, if the maximum result size is > 1 or -1 ("unbounded").
public java.lang.String getPatternPart(int pNum)
Returns the fixed part of the query with the given number. For example, a query like
SELECT * FROM {tables} WHERE {constraints} SORT BY {something}consists of four fixed parts:
SELECT * FROM
WHERE
SORT BY
public void setDescription(java.lang.String pDescription)
Sets the method description.
public java.lang.String getDescription()
Returns the method description.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |