Class MethodType

  • All Implemented Interfaces:
    Serializable, Enumerator

    public final class MethodType
    extends AbstractEnumerator
    A representation of the literals of the enumeration 'Method Type', and utility methods for working with them.
    See Also:
    Wps10Package.getMethodType(), Serialized Form
    • Field Detail

      • GET

        public static final int GET
        The 'GET' literal value.

        If the meaning of 'GET' literal object isn't clear, there really should be more of a description here...

        See Also:
        GET_LITERAL, Constant Field Values
      • POST

        public static final int POST
        The 'POST' literal value.

        If the meaning of 'POST' literal object isn't clear, there really should be more of a description here...

        See Also:
        POST_LITERAL, Constant Field Values
      • GET_LITERAL

        public static final MethodType GET_LITERAL
        The 'GET' literal object.
        See Also:
        GET
      • POST_LITERAL

        public static final MethodType POST_LITERAL
        The 'POST' literal object.
        See Also:
        POST
      • VALUES

        public static final List VALUES
        A public read-only list of all the 'Method Type' enumerators.
    • Method Detail

      • get

        public static MethodType get​(String literal)
        Returns the 'Method Type' literal with the specified literal value.
        Parameters:
        literal - the literal.
        Returns:
        the matching enumerator or null.
      • getByName

        public static MethodType getByName​(String name)
        Returns the 'Method Type' literal with the specified name.
        Parameters:
        name - the name.
        Returns:
        the matching enumerator or null.
      • get

        public static MethodType get​(int value)
        Returns the 'Method Type' literal with the specified integer value.
        Parameters:
        value - the integer value.
        Returns:
        the matching enumerator or null.