Class CodegenJavaMethod

  • All Implemented Interfaces:
    Cloneable

    public class CodegenJavaMethod
    extends Object
    implements Cloneable
    Author:
    eric.wittmann@gmail.com
    • Constructor Detail

      • CodegenJavaMethod

        public CodegenJavaMethod()
        Constructor.
    • 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
      • getProduces

        public Set<String> getProduces()
        Returns:
        the produces
      • setProduces

        public void setProduces​(Set<String> produces)
        Parameters:
        produces - the produces to set
      • getConsumes

        public Set<String> getConsumes()
        Returns:
        the consumes
      • setConsumes

        public void setConsumes​(Set<String> consumes)
        Parameters:
        consumes - the consumes to set
      • setArguments

        public void setArguments​(List<CodegenJavaArgument> arguments)
        Parameters:
        arguments - the arguments to set
      • 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