org.jaudiotagger.tag.id3
Enum ID3v22FieldKey

java.lang.Object
  extended by java.lang.Enum<ID3v22FieldKey>
      extended by org.jaudiotagger.tag.id3.ID3v22FieldKey
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ID3v22FieldKey>

public enum ID3v22FieldKey
extends java.lang.Enum<ID3v22FieldKey>

List of known id3v22 metadata fields

These provide a mapping from the generic key to the underlying ID3v22frames. For example most of the Musicbrainz fields are implemnted using a User Defined Text Info Frame, but with a different description key, so this enum provides the link between the two.


Enum Constant Summary
ALBUM
           
ALBUM_ARTIST
           
ALBUM_ARTIST_SORT
           
ALBUM_SORT
           
AMAZON_ID
           
ARTIST
           
ARTIST_SORT
           
BARCODE
           
BPM
           
CATALO_NO
           
COMMENT
           
COMPOSER
           
COMPOSER_SORT
           
CONDUCTOR
           
COVER_ART
           
DISC_NO
           
DISC_TOTAL
           
ENCODER
           
GENRE
           
GROUPING
           
IS_COMPILATION
           
ISRC
           
KEY
           
LANGUAGE
           
LYRICIST
           
LYRICS
           
MEDIA
           
MOOD
           
MUSICBRAINZ_ARTISTID
           
MUSICBRAINZ_DISC_ID
           
MUSICBRAINZ_RELEASE_COUNTRY
           
MUSICBRAINZ_RELEASE_STATUS
           
MUSICBRAINZ_RELEASE_TYPE
           
MUSICBRAINZ_RELEASEARTISTID
           
MUSICBRAINZ_RELEASEID
           
MUSICBRAINZ_TRACK_ID
           
MUSICIP_ID
           
RECORD_LABEL
           
REMIXER
           
TITLE
           
TITLE_SORT
           
TRACK
           
TRACK_TOTAL
           
URL_DISCOGS_ARTIST_SITE
           
URL_DISCOGS_RELEASE_SITE
           
URL_LYRICS_SITE
           
URL_OFFICIAL_ARTIST_SITE
           
URL_OFFICIAL_RELEASE_SITE
           
URL_WIKIPEDIA_ARTIST_SITE
           
URL_WIKIPEDIA_RELEASE_SITE
           
YEAR
           
 
Field Summary
private  java.lang.String fieldName
           
private  Id3FieldType fieldType
           
private  java.lang.String frameId
           
private  java.lang.String subId
           
 
Method Summary
 java.lang.String getFieldName()
          This is the value of the key that can uniquely identifer a key type
 Id3FieldType getFieldType()
           
 java.lang.String getFrameId()
          This is the frame identifier used to write the field
 java.lang.String getSubId()
          This is the subfield used within the frame for this type of field
static ID3v22FieldKey valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ID3v22FieldKey[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ARTIST

public static final ID3v22FieldKey ARTIST

ALBUM

public static final ID3v22FieldKey ALBUM

TITLE

public static final ID3v22FieldKey TITLE

TRACK

public static final ID3v22FieldKey TRACK

YEAR

public static final ID3v22FieldKey YEAR

GENRE

public static final ID3v22FieldKey GENRE

COMMENT

public static final ID3v22FieldKey COMMENT

ALBUM_ARTIST

public static final ID3v22FieldKey ALBUM_ARTIST

COMPOSER

public static final ID3v22FieldKey COMPOSER

GROUPING

public static final ID3v22FieldKey GROUPING

DISC_NO

public static final ID3v22FieldKey DISC_NO

BPM

public static final ID3v22FieldKey BPM

ENCODER

public static final ID3v22FieldKey ENCODER

MUSICBRAINZ_ARTISTID

public static final ID3v22FieldKey MUSICBRAINZ_ARTISTID

MUSICBRAINZ_RELEASEID

public static final ID3v22FieldKey MUSICBRAINZ_RELEASEID

MUSICBRAINZ_RELEASEARTISTID

public static final ID3v22FieldKey MUSICBRAINZ_RELEASEARTISTID

MUSICBRAINZ_TRACK_ID

public static final ID3v22FieldKey MUSICBRAINZ_TRACK_ID

MUSICBRAINZ_DISC_ID

public static final ID3v22FieldKey MUSICBRAINZ_DISC_ID

MUSICIP_ID

public static final ID3v22FieldKey MUSICIP_ID

AMAZON_ID

public static final ID3v22FieldKey AMAZON_ID

MUSICBRAINZ_RELEASE_STATUS

public static final ID3v22FieldKey MUSICBRAINZ_RELEASE_STATUS

MUSICBRAINZ_RELEASE_TYPE

public static final ID3v22FieldKey MUSICBRAINZ_RELEASE_TYPE

MUSICBRAINZ_RELEASE_COUNTRY

public static final ID3v22FieldKey MUSICBRAINZ_RELEASE_COUNTRY

MOOD

public static final ID3v22FieldKey MOOD

LYRICS

public static final ID3v22FieldKey LYRICS

IS_COMPILATION

public static final ID3v22FieldKey IS_COMPILATION

ARTIST_SORT

public static final ID3v22FieldKey ARTIST_SORT

ALBUM_ARTIST_SORT

public static final ID3v22FieldKey ALBUM_ARTIST_SORT

ALBUM_SORT

public static final ID3v22FieldKey ALBUM_SORT

TITLE_SORT

public static final ID3v22FieldKey TITLE_SORT

COMPOSER_SORT

public static final ID3v22FieldKey COMPOSER_SORT

COVER_ART

public static final ID3v22FieldKey COVER_ART

ISRC

public static final ID3v22FieldKey ISRC

BARCODE

public static final ID3v22FieldKey BARCODE

CATALO_NO

public static final ID3v22FieldKey CATALO_NO

RECORD_LABEL

public static final ID3v22FieldKey RECORD_LABEL

LYRICIST

public static final ID3v22FieldKey LYRICIST

CONDUCTOR

public static final ID3v22FieldKey CONDUCTOR

REMIXER

public static final ID3v22FieldKey REMIXER

MEDIA

public static final ID3v22FieldKey MEDIA

URL_OFFICIAL_RELEASE_SITE

public static final ID3v22FieldKey URL_OFFICIAL_RELEASE_SITE

URL_DISCOGS_RELEASE_SITE

public static final ID3v22FieldKey URL_DISCOGS_RELEASE_SITE

URL_WIKIPEDIA_RELEASE_SITE

public static final ID3v22FieldKey URL_WIKIPEDIA_RELEASE_SITE

URL_OFFICIAL_ARTIST_SITE

public static final ID3v22FieldKey URL_OFFICIAL_ARTIST_SITE

URL_DISCOGS_ARTIST_SITE

public static final ID3v22FieldKey URL_DISCOGS_ARTIST_SITE

URL_WIKIPEDIA_ARTIST_SITE

public static final ID3v22FieldKey URL_WIKIPEDIA_ARTIST_SITE

LANGUAGE

public static final ID3v22FieldKey LANGUAGE

KEY

public static final ID3v22FieldKey KEY

URL_LYRICS_SITE

public static final ID3v22FieldKey URL_LYRICS_SITE

DISC_TOTAL

public static final ID3v22FieldKey DISC_TOTAL

TRACK_TOTAL

public static final ID3v22FieldKey TRACK_TOTAL
Field Detail

fieldName

private java.lang.String fieldName

frameId

private java.lang.String frameId

subId

private java.lang.String subId

fieldType

private Id3FieldType fieldType
Method Detail

values

public static ID3v22FieldKey[] 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 (ID3v22FieldKey c : ID3v22FieldKey.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ID3v22FieldKey valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getFieldType

public Id3FieldType getFieldType()
Returns:
fieldtype

getFrameId

public java.lang.String getFrameId()
This is the frame identifier used to write the field

Returns:

getSubId

public java.lang.String getSubId()
This is the subfield used within the frame for this type of field

Returns:
subId

getFieldName

public java.lang.String getFieldName()
This is the value of the key that can uniquely identifer a key type

Returns: