Enum Attribute

  • All Implemented Interfaces:
    Serializable, Comparable<Attribute>

    public enum Attribute
    extends Enum<Attribute>

    The attribute you want to search for in iTunes, relative to the specified media type.

    For example, if you want to search for an artist by name specify entity=allArtist&attribute=allArtistTerm. In this example, if you search for term=maroon, iTunes returns “Maroon 5” in the search results, instead of all artists who have ever recorded a song with the word “maroon” in the title.

    iTunes default is all attributes associated with the specified media type.

    • Enum Constant Detail

      • ACTOR_TERM

        public static final Attribute ACTOR_TERM
      • ALBUM_TERM

        public static final Attribute ALBUM_TERM
      • ALL_ARTIST_TERM

        public static final Attribute ALL_ARTIST_TERM
      • ALL_TRACK_TERM

        public static final Attribute ALL_TRACK_TERM
      • ARTIST_TERM

        public static final Attribute ARTIST_TERM
      • AUTHOR_TERM

        public static final Attribute AUTHOR_TERM
      • COMPOSER_TERM

        public static final Attribute COMPOSER_TERM
      • DESCRIPTION_TERM

        public static final Attribute DESCRIPTION_TERM
      • DIRECTOR_TERM

        public static final Attribute DIRECTOR_TERM
      • FEATURE_FILM_TERM

        public static final Attribute FEATURE_FILM_TERM
      • GENRE_INDEX

        public static final Attribute GENRE_INDEX
      • KEYWORDS_TERM

        public static final Attribute KEYWORDS_TERM
      • LANGUAGE_TERM

        public static final Attribute LANGUAGE_TERM
      • MIX_TERM

        public static final Attribute MIX_TERM
      • MOVIE_ARTIST_TERM

        public static final Attribute MOVIE_ARTIST_TERM
      • MOVIE_TERM

        public static final Attribute MOVIE_TERM
      • PRODUCER_TERM

        public static final Attribute PRODUCER_TERM
      • RATING_INDEX

        public static final Attribute RATING_INDEX
      • RATING_TERM

        public static final Attribute RATING_TERM
      • RELEASE_YEAR_TERM

        public static final Attribute RELEASE_YEAR_TERM
      • SHORT_FILM_TERM

        public static final Attribute SHORT_FILM_TERM
      • SHOW_TERM

        public static final Attribute SHOW_TERM
      • SOFTWARE_DEVELOPER

        public static final Attribute SOFTWARE_DEVELOPER
      • SONG_TERM

        public static final Attribute SONG_TERM
      • TITLE_TERM

        public static final Attribute TITLE_TERM
      • TV_EPISODE_TERM

        public static final Attribute TV_EPISODE_TERM
      • TV_SEASON_TERM

        public static final Attribute TV_SEASON_TERM
    • Method Detail

      • values

        public static Attribute[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Attribute c : Attribute.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Attribute valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getName

        public String getName()