java.lang.Object
com.tectonica.jonix.onix2.ContributorRole
- All Implemented Interfaces:
OnixElement<ContributorRoles>
,OnixTag
,Serializable
Contributor role
An ONIX code indicating the role played by a person or corporate body in the creation of the product. Mandatory in each occurrence of a <Contributor> composite, and may be repeated if the same person or corporate body has more than one role in relation to the product. Note, however, that if the <SequenceNumberWithinRole> element is used to establish individual sequences of contributor names by role, the <ContributorRole> element must not be repeated. There must instead be separate occurrences of the <Contributor> composite if the same person has two or more roles.
Format | Fixed-length, one letter and two numeric digits |
Codelist | List 17 |
Reference name | <ContributorRole> |
Short tag | <b035> |
Example | <ContributorRole>A01</ContributorRole> Author |
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final ContributorRole
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<ContributorRole> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
value
-
EMPTY
-
-
Constructor Details
-
ContributorRole
public ContributorRole() -
ContributorRole
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<ContributorRoles>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-