- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixSuperComposite
,OnixTag
,Serializable
Contributor by reference composite
Optional composite that identifies a contributor – a person or corporate body – participating in the promotional event who is also a contributor to the product, or who is its subject (ie who is fully described in an instance of the <Contributor> composite within Groups P.5, P.7 or P.18, or in an instance of <NameAsSubject> within Groups P.12 or P.18, in the same Product record). Repeatable to refer to multiple contributors.
Note that an instance of <PromotionalEvent> may also contain one or more <Contributor> composites – the latter listing participants to the event who are not contributors to the product.
Reference name | <ContributorReference> |
Short tag | <contributorreference> |
Cardinality | 0…n |
- Since:
- Onix-3.07
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixComposite
OnixComposite.OnixDataComposite<V extends JonixStruct>, OnixComposite.OnixDataCompositeUncommon, OnixComposite.OnixDataCompositeWithKey<V extends JonixKeyedStruct<K>,
K extends Enum<K> & OnixCodelist>, OnixComposite.OnixSuperComposite -
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final ContributorReference
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.An ONIX code indicating the role played by a person or corporate body participating in a promotional event, which need not be the same role as specified for the contributor referenced in Groups P.5, P.7 or P.18.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
ifExists
(Consumer<ContributorReference> action) A group of data elements which together specify a name identifier, used here to carry an identifier for a personal or organizational name which must match a name identifier in an instance of the <Contributor> composite within Groups P.5, P.7 or P.18, or in an instance of <NameAsSubject> within Groups P.12 or P.18, in the same Product record.A number which specifies a single overall sequence of event participant names.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
ContributorReference
public ContributorReference() -
ContributorReference
-
-
Method Details
-
_initialize
public void _initialize()Description copied from interface:OnixComposite
This is an internal API. Since Jonix 8.0, composite objects are being populated lazily. This method initiates the population process, and is invoked internally by the accessor APIs of the composites- Specified by:
_initialize
in interfaceOnixComposite
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
getXmlElement
Description copied from interface:OnixComposite
For advanced use-cases only.- Specified by:
getXmlElement
in interfaceOnixComposite
- Returns:
- native representation of the XML element underlying to this tag
-
contributorRoles
An ONIX code indicating the role played by a person or corporate body participating in a promotional event, which need not be the same role as specified for the contributor referenced in Groups P.5, P.7 or P.18. Mandatory in each instance of the <ContributorReference> composite, and may be repeated if the same person or corporate body has more than one role in relation to the event.
Jonix-Comment: this list is required to contain at least one item -
nameIdentifiers
public ListOfOnixDataCompositeWithKey<NameIdentifier,JonixNameIdentifier, nameIdentifiers()NameIdentifierTypes> A group of data elements which together specify a name identifier, used here to carry an identifier for a personal or organizational name which must match a name identifier in an instance of the <Contributor> composite within Groups P.5, P.7 or P.18, or in an instance of <NameAsSubject> within Groups P.12 or P.18, in the same Product record. The <NameIdentifier> composite is mandatory within each instance of the <ContributorReference> composite, and is repeatable to specify name identifiers of different types for the same person or organization name.
Jonix-Comment: this list is required to contain at least one item -
sequenceNumber
A number which specifies a single overall sequence of event participant names. Optional and non-repeating. It is strongly recommended that each occurrence of the <ContributorReference> and <Contributor> composites within <PromotionalEvent> should carry a <SequenceNumber>. The sequence is independent of the sequence of contributors to the product specified in Groups P.5, P.7 or P.18.
Jonix-Comment: this field is optional
-