public class Method extends MethodSchema
name, parentName, treeElements| Constructor and Description |
|---|
Method(String name,
MethodSchema parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(Parameter parameter) |
String |
getDescription() |
Vector<Parameter> |
getParameters() |
MethodQuery |
getQuery() |
Entity |
getReturnType() |
void |
setDescription(String description) |
void |
setQuery(MethodQuery query) |
void |
setReturnType(Entity returntype) |
String |
toString()
Print the tree.
|
get, getAllChildren, getAllChildren, getChild, getChildren, getName, getParent, getPath, getRoot, getStringValue, getTreeElements, getValue, hasChildren, hasParent, remove, setName, setName, setParent, setValue, toString, toStringpublic Method(String name, MethodSchema parent)
public Entity getReturnType()
public void addParameter(Parameter parameter) throws MolgenisModelException
MolgenisModelExceptionpublic void setQuery(MethodQuery query)
public MethodQuery getQuery()
public String getDescription()
public void setDescription(String description)
public String toString()
TreetoString in interface Tree<MethodSchema>toString in class SimpleTree<MethodSchema>Copyright © 2015. All Rights Reserved.