Package nl.vpro.metis

Enum Class IdClass

java.lang.Object
java.lang.Enum<IdClass>
nl.vpro.metis.IdClass
All Implemented Interfaces:
Serializable, Comparable<IdClass>, Constable

public enum IdClass extends Enum<IdClass>
The class of the 'metis' ID ('mid')

Classically, this was either a PRID or a SRID, but now also IID is possible (currently needed by PREPR)

Since:
7.10
  • Enum Constant Details

    • PRID

      public static final IdClass PRID
      An ID form program object
    • SRID

      public static final IdClass SRID
      An ID for group (series) objects
    • IID

      public static final IdClass IID
      An ID for images.
  • Method Details

    • values

      public static IdClass[] 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 IdClass 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