Class AllSomeType

Object
AbstractEnumerator
AllSomeType
All Implemented Interfaces:
Serializable, Enumerator

public final class AllSomeType extends AbstractEnumerator
A representation of the literals of the enumeration 'All Some Type', and utility methods for working with them.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The 'ALL' literal value.
    static final AllSomeType
    The 'ALL' literal object.
    static final int
    The 'SOME' literal value.
    static final AllSomeType
    The 'SOME' literal object.
    static final List
    A public read-only list of all the 'All Some Type' enumerators.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int value)
    Returns the 'All Some Type' literal with the specified integer value.
    get(String literal)
    Returns the 'All Some Type' literal with the specified literal value.
    Returns the 'All Some Type' literal with the specified name.

    Methods inherited from class AbstractEnumerator

    getLiteral, getName, getValue, toString, writeReplace

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • ALL

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

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

      See Also:
    • SOME

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

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

      See Also:
    • ALL_LITERAL

      public static final AllSomeType ALL_LITERAL
      The 'ALL' literal object.
      See Also:
    • SOME_LITERAL

      public static final AllSomeType SOME_LITERAL
      The 'SOME' literal object.
      See Also:
    • VALUES

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

    • get

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

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

      public static AllSomeType get(int value)
      Returns the 'All Some Type' literal with the specified integer value.
      Parameters:
      value - the integer value.
      Returns:
      the matching enumerator or null.