com.ldodds.musicbrainz
Class MetadataVocabulary

java.lang.Object
  |
  +--com.ldodds.musicbrainz.MetadataVocabulary

public class MetadataVocabulary
extends java.lang.Object

Vocabulary definitions for the MusicBrainz Metadata ontology. This class is a hand-crafted equivalent of vocabulary definitions generated automatically by using the Jena schemagen tool. MusicBrainz don't have a formal RDFS vocabulary, hence the need for a hand-crafted equivalent. TODO releaseType and releaseStatus have resources as their values.

Author:
ldodds
See Also:

Field Summary
static Resource Album
           
static Property albumList
           
static Resource Artist
           
static Property artistList
           
static Property cdindexid
           
static Property cdindexidList
           
static Property duration
          Duration of a track
static Resource NAMESPACE
          The namespace of the vocabalary as a resource
static java.lang.String NS
          The namespace of the vocabalary as a string ("http://musicbrainz.org/mm/mm-2.1#")
static Property releaseStatus
          Release status of an album
static Property releaseType
          Release type of an album
static Property sortname
          Sort name
static Resource Track
           
static Property trackList
           
static Property trackNum
          Track number on album
static Property trmid
           
static Property trmidList
           
 
Constructor Summary
MetadataVocabulary()
           
 
Method Summary
static java.lang.String getURI()
          The namespace of the vocabalary as a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS

public static final java.lang.String NS

The namespace of the vocabalary as a string ("http://musicbrainz.org/mm/mm-2.1#")

See Also:
Constant Field Values

NAMESPACE

public static final Resource NAMESPACE

The namespace of the vocabalary as a resource


Artist

public static final Resource Artist

Album

public static final Resource Album

Track

public static final Resource Track

sortname

public static final Property sortname

Sort name


releaseStatus

public static final Property releaseStatus

Release status of an album


releaseType

public static final Property releaseType

Release type of an album


trackNum

public static final Property trackNum

Track number on album


duration

public static final Property duration

Duration of a track


trmid

public static final Property trmid

cdindexid

public static final Property cdindexid

artistList

public static final Property artistList

albumList

public static final Property albumList

trackList

public static final Property trackList

cdindexidList

public static final Property cdindexidList

trmidList

public static final Property trmidList
Constructor Detail

MetadataVocabulary

public MetadataVocabulary()
Method Detail

getURI

public static java.lang.String getURI()

The namespace of the vocabalary as a string

See Also:
NS