Class CodegenJavaMethod
- java.lang.Object
-
- io.apicurio.hub.api.codegen.beans.CodegenJavaMethod
-
-
Constructor Summary
Constructors Constructor Description CodegenJavaMethod()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodegenJavaMethodclone()List<CodegenJavaArgument>getArguments()Set<String>getConsumes()StringgetDescription()StringgetMethod()StringgetName()StringgetPath()Set<String>getProduces()CodegenJavaReturngetReturn()booleanisAsync()voidsetArguments(List<CodegenJavaArgument> arguments)voidsetAsync(boolean async)voidsetConsumes(Set<String> consumes)voidsetDescription(String description)voidsetMethod(String method)voidsetName(String name)voidsetPath(String path)voidsetProduces(Set<String> produces)voidsetReturn(CodegenJavaReturn _return)
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
getPath
public String getPath()
- Returns:
- the path
-
setPath
public void setPath(String path)
- Parameters:
path- the path to set
-
getMethod
public String getMethod()
- Returns:
- the method
-
setMethod
public void setMethod(String method)
- Parameters:
method- the method to set
-
setProduces
public void setProduces(Set<String> produces)
- Parameters:
produces- the produces to set
-
setConsumes
public void setConsumes(Set<String> consumes)
- Parameters:
consumes- the consumes to set
-
getArguments
public List<CodegenJavaArgument> getArguments()
- Returns:
- the arguments
-
setArguments
public void setArguments(List<CodegenJavaArgument> arguments)
- Parameters:
arguments- the arguments to set
-
getReturn
public CodegenJavaReturn getReturn()
- Returns:
- the _return
-
setReturn
public void setReturn(CodegenJavaReturn _return)
- Parameters:
_return- the _return to set
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description- the description to set
-
isAsync
public boolean isAsync()
- Returns:
- the async
-
setAsync
public void setAsync(boolean async)
- Parameters:
async- the async to set
-
clone
public CodegenJavaMethod clone()
-
-