java.lang.Object
com.tectonica.jonix.onix3.MainAudience
- All Implemented Interfaces:
OnixFlag
,OnixTag
,Serializable
Main audience flag
An empty element that identifies an instance of the <Audience> composite as representing the primary or main audience for the product. The main audience may be expressed in more than one audience scheme, ie there may be two or more instances of the <Audience> composite, using different schemes, each carrying the <MainAudience/> flag, so long as there is only one main audience per scheme (ie per value of <AudienceCodeType>). Optional and non-repeating in each occurrence of the <Audience> composite.
Format | XML empty element |
Reference name | <MainAudience> |
Short tag | <x583> |
Cardinality | 0…1 |
Example | <x583/> |
- <
Audience
>
- Since:
- Onix-3.10
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final MainAudience
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<MainAudience> action)
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
MainAudience
public MainAudience() -
MainAudience
-
-
Method Details