Class Credit

  • All Implemented Interfaces:
    Serializable

    public class Credit
    extends Object
    implements Serializable
    <media:credit>

    Notable entity and the contribution to the creation of the media object. Current entities can include people, companies, locations, etc. Specific entities can have multiple roles, and several entities can have the same role. These should appear as distinct <media:credit> elements. It has 2 optional attributes.

     <media:credit role="producer" scheme="urn:ebu">entity name</media:credit>
     

    role specifies the role the entity played. Must be lowercase. It is an optional attribute.

    scheme is the URI that identifies the role scheme. It is an optional attribute. If this attribute is not included, the default scheme is 'urn:ebu'. See: European Broadcasting Union Role Codes.

    Example roles:

     actor
            anchor person
            author
            choreographer
            composer
            conductor
            director
            editor
            graphic designer
            grip
            illustrator
            lyricist
            music arranger
            music group
            musician
            orchestra
            performer
            photographer
            producer
            reporter
            vocalist
     

    Additional roles: European Broadcasting Union Role Codes

    See Also:
    Serialized Form
    • Constructor Detail

      • Credit

        public Credit​(String scheme,
                      String role,
                      String name)
        Parameters:
        scheme - schem used
        role - role name
        name - persons name
    • Method Detail

      • getName

        public String getName()
        Person/organizations name
        Returns:
        Person/organizations name
      • getRole

        public String getRole()
        Role name
        Returns:
        Role name
      • getScheme

        public String getScheme()
        Scheme used.
        Returns:
        Scheme used.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object