Enum Class MisGenreType

java.lang.Object
java.lang.Enum<MisGenreType>
nl.vpro.domain.media.MisGenreType
All Implemented Interfaces:
Serializable, Comparable<MisGenreType>, Constable

public enum MisGenreType extends Enum<MisGenreType>
Since:
3.0
Author:
Michiel Meeuwissen
  • Enum Constant Details

  • Method Details

    • values

      public static MisGenreType[] 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 MisGenreType 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
    • getDisplayName

      public String getDisplayName()
    • getEpgGenreType

      public Collection<EpgGenreType> getEpgGenreType()
    • find

      public static MisGenreType find(String pointer) throws IllegalArgumentException
      Searches in both enum names and display names. Not case sensitive!
      Throws:
      IllegalArgumentException
    • valueOf

      public static SortedSet<MisGenreType> valueOf(Collection<String> genres)
      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:
      genres - 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
    • valueOfGenre

      public static SortedSet<MisGenreType> valueOfGenre(Collection<Genre> genres)
    • find

      public static SortedSet<MisGenreType> find(Collection<String> genres)