java.lang.Object
com.tectonica.jonix.onix2.Audience
- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixAudience>
,OnixComposite.OnixDataCompositeWithKey<JonixAudience,
,AudienceCodeTypes> OnixTag
,Serializable
public class Audience
extends Object
implements OnixComposite.OnixDataCompositeWithKey<JonixAudience,AudienceCodeTypes>, Serializable
Audience composite
A repeatable group of data elements which together describe an audience to which the product is directed.
Reference name | <Audience> |
Short tag | <audience> |
- <
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.asStruct()
An ONIX code which identifies the scheme from which the code in <AudienceCodeValue> is taken.A name which identifies a proprietary audience code when the code in <AudienceCodeType> indicates a proprietary scheme, eg a vendor’s own code.A code value taken from the scheme specified in <AudienceCodeType>.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
Audience
public Audience() -
Audience
-
-
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
-
audienceCodeType
An ONIX code which identifies the scheme from which the code in <AudienceCodeValue> is taken. Mandatory in each occurrence of the <Audience> composite, and non-repeating.
Jonix-Comment: this field is required -
audienceCodeValue
A code value taken from the scheme specified in <AudienceCodeType>. Mandatory in each occurrence of the <Audience> composite, and non-repeating.
Jonix-Comment: this field is required -
audienceCodeTypeName
A name which identifies a proprietary audience code when the code in <AudienceCodeType> indicates a proprietary scheme, eg a vendor’s own code. Optional and non-repeating.
Jonix-Comment: this field is optional -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixAudience>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixAudience,
AudienceCodeTypes>
-