|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.query.function.FunctionForm
public class FunctionForm
The FunctionForm class represents a particular form of a function signature. It is different from the FunctionMethod class because it ignores type information and instead differentiates function signatures based on their function name and the names of the arguments.
Constructor Summary | |
---|---|
FunctionForm(FunctionMethod method)
Construct a function form by pulling all info from a FunctionMethod. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Implements Comparable interface so that this object can be compared to other FunctionForm objects and ordered alphabetically. |
boolean |
equals(java.lang.Object obj)
Compare this function form with another based on the name and argument names. |
java.lang.String |
getArgDescription(int index)
Get argument description at index. |
java.util.List |
getArgDescriptions()
Get list of argument descriptions. |
java.lang.String |
getArgName(int index)
Get argument name at index. |
java.util.List |
getArgNames()
Get list of argument names. |
java.lang.String |
getCategory()
Get category. |
java.lang.String |
getDescription()
Get description of function. |
java.lang.String |
getDisplayString()
Get display string for this function form |
java.lang.String |
getName()
Get name of function. |
java.lang.String |
getReturnDescription()
Get description of return parameter |
java.lang.String |
getReturnName()
Get name of return parameter |
int |
hashCode()
Return hash code based on the name and input parameter names |
java.lang.String |
toString()
String representation of the function form for debugging purposes. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FunctionForm(FunctionMethod method)
method
- FunctionMethod to build form fromMethod Detail |
---|
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getCategory()
public java.util.List getArgNames()
String
)public java.lang.String getArgName(int index)
index
- Index to use
public java.util.List getArgDescriptions()
String
)public java.lang.String getArgDescription(int index)
index
- Index to use
public java.lang.String getReturnName()
public java.lang.String getReturnDescription()
public java.lang.String getDisplayString()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Other objectpublic int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
obj
- Other object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |