Package nl.vpro.metis

Enum Class IdType

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

public enum IdType extends Enum<IdType>
Every 'mid' has a type (basically just a prefix). This may indicate what kind of thing it is. E.g. 'WO' for 'Web Only'. It also may indicate where it comes from. E.g. 'POMS' for POMS, 'SRCS' for Sourcing Service, 'RCRS' for Radio Content Repository Service.
Since:
1.7
Author:
Michiel Meeuwissen
  • Enum Constant Details

    • WO

      public static final IdType WO
      WebOnly
    • LI

      public static final IdType LI
      Livestreams
    • THX

      public static final IdType THX
      Voor thema-kanalen
    • POMS

      public static final IdType POMS
      Voor allerlei POMS-specifieke zaken. Locaties, Segmenten, Images, dat soort dingen.
    • SRCS

      public static final IdType SRCS
      Sourcing Service
    • RCRS

      public static final IdType RCRS
      Voor RCRS. Radio content repository service (of zoiets?)
    • PREPR

      public static final IdType PREPR
      Voor PREPR
  • Method Details

    • values

      public static IdType[] 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 IdType 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
    • of

      public static IdType of(@Nullable MediaType pomsType)