Class OperationDescriptor

java.lang.Object
org.codehaus.mojo.servicedocgen.descriptor.AbstractDescriptor
org.codehaus.mojo.servicedocgen.descriptor.OperationDescriptor
All Implemented Interfaces:
Comparable<OperationDescriptor>, Descriptor

public class OperationDescriptor extends AbstractDescriptor implements Comparable<OperationDescriptor>
Descriptor of an operation of a service.
Author:
hohwille
See Also:
  • Constructor Details

    • OperationDescriptor

      public OperationDescriptor()
  • Method Details

    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - is the id to set
    • getPath

      public String getPath()
      Returns:
      the path
    • setPath

      public void setPath(String path)
      Parameters:
      path - is the path to set
    • getHttpMethod

      public String getHttpMethod()
      Returns:
      the method
    • setHttpMethod

      public void setHttpMethod(String method)
      Parameters:
      method - is the method to set
    • getDescription

      public String getDescription()
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - is the description to set
    • isDeprecated

      public boolean isDeprecated()
      Returns:
      the deprecated
    • setDeprecated

      public void setDeprecated(boolean deprecated)
      Parameters:
      deprecated - is the deprecated to set
    • getConsumes

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

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

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

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

      public List<ParameterDescriptor> getParameters()
      Returns:
      the parameters
    • setParameters

      public void setParameters(List<ParameterDescriptor> parameters)
      Parameters:
      parameters - is the parameters to set
    • getResponses

      public List<ResponseDescriptor> getResponses()
      Returns:
      the responses
    • setResponses

      public void setResponses(List<ResponseDescriptor> responses)
      Parameters:
      responses - is the responses to set
    • getJavaMethod

      public JMethod getJavaMethod()
      Returns:
      the javaMethod
    • setJavaMethod

      public void setJavaMethod(JMethod javaMethod)
      Parameters:
      javaMethod - is the javaMethod to set
    • compareTo

      public int compareTo(OperationDescriptor o)
      Specified by:
      compareTo in interface Comparable<OperationDescriptor>