public class MethodModel extends BasicModel implements IMethodModel
MethodModel class.
| Constructor and Description |
|---|
MethodModel()
Constructor for MethodModel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(IParameterModel param)
addParameter.
|
boolean |
equals(Object obj) |
IDocInfo |
getBasicDocInfo()
getBasicDocInfo.
|
ITypeModel |
getBodyType()
Getter for the field
bodyType. |
IParameterModel[] |
getParameters()
Getter for the field
parameters. |
ITypeModel |
getReturnedType()
Getter for the field
returnedType. |
ITypeModel |
getType() |
int |
hashCode() |
void |
setBodyType(ITypeModel bodyType)
Setter for the field
bodyType. |
void |
setReturnedType(ITypeModel returnType)
Setter for the field
returnedType. |
addAnnotation, getAnnotation, getAnnotations, getAnnotationValue, getAnnotationValues, getDocumentation, getJavaType, getJAXBType, getName, hasAnnotation, isPublic, isStatic, setDocumentation, setJavaClass, setJaxbType, setName, setPublic, setStaticclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisPublic, isStaticgetJavaType, getJAXBTypegetAnnotation, getAnnotations, getAnnotationValue, getAnnotationValues, getDocumentation, getName, hasAnnotationpublic IParameterModel[] getParameters()
Getter for the field parameters.
getParameters in interface IMethodModelIParameterModel objects.public void addParameter(IParameterModel param)
addParameter.
param - a IParameterModel object.public IDocInfo getBasicDocInfo()
getBasicDocInfo.
getBasicDocInfo in interface IMethodModelIDocInfo object.public ITypeModel getReturnedType()
Getter for the field returnedType.
getReturnedType in interface IMethodModelITypeModel object.public void setReturnedType(ITypeModel returnType)
Setter for the field returnedType.
returnType - a ITypeModel object.public int hashCode()
hashCode in class BasicModelpublic boolean equals(Object obj)
equals in class BasicModelpublic ITypeModel getBodyType()
Getter for the field bodyType.
getBodyType in interface IMethodModelITypeModel object.public void setBodyType(ITypeModel bodyType)
Setter for the field bodyType.
bodyType - a ITypeModel object.public ITypeModel getType()
Copyright © 2015 Mulesoft. All rights reserved.