org.apache.struts2.json.smd

## Class SMDMethod

- java.lang.Object
- - org.apache.struts2.json.smd.SMDMethod

- All Implemented Interfaces:
    Comparable

      public class SMDMethod
      extends Object
      implements Comparable

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SMDMethod(String name)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addSMDMethodParameter(SMDMethodParameter parameter)`
    `int` | `compareTo(Object o)`
    `boolean` | `equals(Object obj)`
    `String` | `getName()`
    `Set<SMDMethodParameter>` | `getParameters()`
    `void` | `setName(String name)`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SMDMethod

          public SMDMethod(String name)

  - ### Method Detail

    - #### addSMDMethodParameter

          public void addSMDMethodParameter(SMDMethodParameter parameter)

    - #### getName

          public String getName()

    - #### setName

          public void setName(String name)

    - #### getParameters

          public Set<SMDMethodParameter> getParameters()

    - #### compareTo

          public int compareTo(Object o)

      Specified by:
        `compareTo` in interface `Comparable`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.