public class MethodModel extends GenericElementModel implements IMethodModel
MethodModel class.
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hasGenericBodyType |
protected boolean |
hasGenericReturnType |
| 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. |
boolean |
hasGenericBodyType() |
boolean |
hasGenericReturnType() |
int |
hashCode() |
void |
setBodyType(ITypeModel bodyType)
Setter for the field
bodyType. |
void |
setHasGenericBodyType(boolean isGeneric) |
void |
setHasGenericReturnType(boolean isGeneric) |
void |
setReturnedType(ITypeModel returnType)
Setter for the field
returnedType. |
getTypeParameters, setTypeParametersaddAnnotation, addJaxbType, getAnnotation, getAnnotationByCanonicalName, getAnnotations, getAnnotationValue, getAnnotationValues, getDocumentation, getJavaType, getJAXBTypes, getName, getType, hasAnnotation, hasAnnotationWithCanonicalName, isCollection, isMap, isPublic, isStatic, setCollection, setDocumentation, setJavaClass, setMap, setName, setPublic, setStaticclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisPublic, isStaticgetJavaType, getJAXBTypes, getType, isCollection, isMapgetAnnotation, getAnnotationByCanonicalName, getAnnotations, getAnnotationValue, getAnnotationValues, getDocumentation, getName, hasAnnotation, hasAnnotationWithCanonicalNamegetTypeParametersprotected boolean hasGenericReturnType
protected boolean hasGenericBodyType
public 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 boolean hasGenericReturnType()
hasGenericReturnType in interface IMethodModelpublic void setHasGenericReturnType(boolean isGeneric)
public boolean hasGenericBodyType()
public void setHasGenericBodyType(boolean isGeneric)
Copyright © 2015 Mulesoft. All rights reserved.