|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SQLFunction
Define the basic methods that classes that support SQL Functions need to implement for Classes that use them. This is intended to allow code to be written before functions are fully integrated with the DBAdaptors. As well as allowing for functions to expand as needed.
Method Summary | |
---|---|
Object |
getArgument(int i)
Returns the function parameters at index i. |
Object[] |
getArguments()
Return all the parameters as an object array. |
Column |
getColumn()
Returns the column to which this function is applied. |
void |
setArguments(Object[] args)
Sets the function specific arguments. |
Methods inherited from interface org.apache.torque.Column |
---|
getColumnName, getFullTableName, getSchemaName, getSqlExpression, getTableName |
Method Detail |
---|
Object getArgument(int i)
i
- The 0 based parameter to get.
Column getColumn()
IllegalStateException
- if the column cannot be determined.Object[] getArguments()
void setArguments(Object[] args)
args
- The function specific arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |