|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectGenMethod
public abstract class GenMethod
The GenMethod abstract class defines a base set of methods that are generally available for template usage on method-type objects
This is done with an abstract class (instead of an interface) so derived abstract classes can be subclassed from it w/out requiring all of the methods to be declared there.
Constructor Summary | |
---|---|
GenMethod()
|
Method Summary | |
---|---|
abstract String |
getArgDecl()
Returns the method argument declaration |
String |
getArgList()
Returns the method argument names as a comma delmited list, in raw form. |
abstract String |
getArgList(boolean quoteDelimit)
Returns the the method argument names, in a comma separated list. |
abstract String |
getArgTypes()
Returns the the method argument classes, in a comma separated list |
String |
getDefaultReturnValue()
Returns the default return value for the operation, based upon the operation return type. |
abstract String |
getName()
Returns the name of the method |
abstract String |
getReturnType()
Returns the return type name of the method |
abstract String |
getThrowsClause()
Returns the throws clause of the method |
abstract ArrayList |
getThrowsList()
Returns an ArrayList containing the list of thrown exceptions |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenMethod()
Method Detail |
---|
public abstract String getName()
public abstract String getArgDecl()
public abstract String getArgList(boolean quoteDelimit)
public String getArgList()
public abstract String getArgTypes()
public abstract String getThrowsClause()
public abstract ArrayList getThrowsList()
public abstract String getReturnType()
public String getDefaultReturnValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |