public class Credit
extends java.lang.Object
implements java.io.Serializable
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
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
private java.lang.String |
role |
private java.lang.String |
scheme |
static java.lang.String |
SCHEME_EBU
Scheme value for the EBU credits.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
Credit(java.lang.String scheme,
java.lang.String role,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Person/organizations name
|
java.lang.String |
getRole()
Role name
|
java.lang.String |
getScheme()
Scheme used.
|
int |
hashCode() |
java.lang.String |
toString() |
private static final long serialVersionUID
public static final java.lang.String SCHEME_EBU
private final java.lang.String name
private final java.lang.String role
private final java.lang.String scheme
public Credit(java.lang.String scheme, java.lang.String role, java.lang.String name)
scheme
- schem usedrole
- role namename
- persons namepublic java.lang.String getName()
public java.lang.String getRole()
public java.lang.String getScheme()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object