Enum Class OperatorLocation

java.lang.Object
java.lang.Enum<OperatorLocation>
uk.m0nom.adifproc.callsign.OperatorLocation
All Implemented Interfaces:
Serializable, Comparable<OperatorLocation>, Constable

public enum OperatorLocation extends Enum<OperatorLocation>
Types of location for operators: portable, in their own country, in a foreign country etc.
  • Enum Constant Details

    • PORTABLE_IN_COUNTRY

      public static final OperatorLocation PORTABLE_IN_COUNTRY
    • FIXED_IN_COUNTRY

      public static final OperatorLocation FIXED_IN_COUNTRY
    • PORTABLE_OUT_OF_COUNTRY

      public static final OperatorLocation PORTABLE_OUT_OF_COUNTRY
    • FIXED_OUT_OF_COUNTRY

      public static final OperatorLocation FIXED_OUT_OF_COUNTRY
  • Method Details

    • values

      public static OperatorLocation[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OperatorLocation valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null