java.lang.Object
com.tectonica.jonix.onix2.ProductWebsite
- All Implemented Interfaces:
OnixComposite,OnixComposite.OnixDataComposite<JonixProductWebsite>,OnixTag,Serializable
public class ProductWebsite
extends Object
implements OnixComposite.OnixDataComposite<JonixProductWebsite>, Serializable
Product website composite
An optional and repeatable group of data elements which together identify and provide pointers to a website which is related to the product.
| Reference name | <ProductWebsite> |
| Short tag | <productwebsite> |
- <
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
FieldsModifier and TypeFieldDescription(type: DateOrDateTime)static final ProductWebsitestatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis is an internal API.asStruct()booleanexists()indicates whether this tag exists in the ONIX recordFor advanced use-cases only.voidifExists(Consumer<ProductWebsite> action) Free text describing the nature of the website which is linked through <ProductWebsiteLink>.A URL for a website carrying additional information related to the product, which is available to be viewed for promotional purposes.An ONIX code which identifies the role or purpose of the website which is linked through <ProductWebsiteLink>.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
ProductWebsite
public ProductWebsite() -
ProductWebsite
-
-
Method Details
-
_initialize
public void _initialize()Description copied from interface:OnixCompositeThis 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:
_initializein interfaceOnixComposite
-
exists
public boolean exists()Description copied from interface:OnixTagindicates whether this tag exists in the ONIX record -
ifExists
-
getXmlElement
Description copied from interface:OnixCompositeFor advanced use-cases only.- Specified by:
getXmlElementin interfaceOnixComposite- Returns:
- native representation of the XML element underlying to this tag
-
productWebsiteLink
A URL for a website carrying additional information related to the product, which is available to be viewed for promotional purposes. Mandatory in each occurrence of the <ProductWebsite> composite, and non-repeating.
JONIX adds: this field is required -
websiteRole
An ONIX code which identifies the role or purpose of the website which is linked through <ProductWebsiteLink>. Optional and non-repeating.
JONIX adds: this field is optional -
productWebsiteDescription
Free text describing the nature of the website which is linked through <ProductWebsiteLink>. Optional and non-repeating.
JONIX adds: this field is optional -
asStruct
- Specified by:
asStructin interfaceOnixComposite.OnixDataComposite<JonixProductWebsite>
-