- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixAudienceRange>
,OnixTag
,Serializable
Audience range composite
An optional and repeatable group of data elements which together describe an audience or readership range for which a product is intended. The composite can carry a single value from, to, or exact, or a pair of values with an explicit from and to. See examples below.
Reference name | <AudienceRange> |
Short tag | <audiencerange> |
- <
Product
>
- 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: DateOrDateTime)static final AudienceRange
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.asStruct()
An ONIX code specifying the “precision” of the value in the <AudienceRangeValue> element which follows (From, To, Exact).An ONIX code specifying the attribute (age, school grade etc) which is measured by the value in the <AudienceRangeValue> element.A value indicating an exact position within a range, or the upper or lower end of a range.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
ifExists
(Consumer<AudienceRange> action)
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
AudienceRange
public AudienceRange() -
AudienceRange
-
-
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
-
audienceRangeQualifier
An ONIX code specifying the attribute (age, school grade etc) which is measured by the value in the <AudienceRangeValue> element. Mandatory in each occurrence of the <AudienceRange> composite, and non-repeating.
Jonix-Comment: this field is required -
audienceRangePrecisions
An ONIX code specifying the “precision” of the value in the <AudienceRangeValue> element which follows (From, To, Exact). Mandatory in each occurrence of the <AudienceRange> composite, and non-repeating.
Jonix-Comment: this list may be empty -
audienceRangeValues
A value indicating an exact position within a range, or the upper or lower end of a range.
Jonix-Comment: this list may be empty -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixAudienceRange>
-