Enum Class Rating

java.lang.Object
java.lang.Enum<Rating>
org.deltava.beans.servinfo.Rating
All Implemented Interfaces:
Serializable, Comparable<Rating>, Constable

public enum Rating extends Enum<Rating>
An enumeration to store VATSIM/IVAO/FSD user ratings.
Since:
3.2
Version:
5.0
Author:
Luke
  • Enum Constant Details

    • DISABLED

      public static final Rating DISABLED
    • OBS

      public static final Rating OBS
    • S1

      public static final Rating S1
    • S2

      public static final Rating S2
    • S3

      public static final Rating S3
    • C1

      public static final Rating C1
    • C2

      public static final Rating C2
    • C3

      public static final Rating C3
    • I1

      public static final Rating I1
    • I2

      public static final Rating I2
    • I3

      public static final Rating I3
    • SUP

      public static final Rating SUP
    • ADM

      public static final Rating ADM
  • Method Details

    • values

      public static Rating[] 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 Rating 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
    • getName

      public String getName()
      Returns the rating description.
      Returns:
      the description