java.lang.Object
com.tectonica.jonix.onix3.SalesRestrictionNote
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Sales restriction note
A free text field describing an ‘unspecified’ restriction, or giving more explanation of a coded restriction type. Optional, and repeatable if parallel text is provided in multiple languages. The language attribute is optional for a single instance of <SalesRestrictionNote>, but must be included in each instance if <SalesRestrictionNote> is repeated.
Format | Variable length text, suggested maximum length 300 characters. XHTML is enabled in this element - see Using XHTML, HTML, XML, JSON within ONIX text fields |
Reference name | <SalesRestrictionNote> |
Short tag | <x453> |
Cardinality | 0…n |
Attributes | language, textformat |
- Since:
- Onix-3.02
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final SalesRestrictionNote
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of SalesRestrictionNote. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<SalesRestrictionNote> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
language
-
textformat
-
value
This is the raw content of SalesRestrictionNote. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Variable length text, suggested maximum length 300 characters. XHTML is enabled in this element - see Using XHTML, HTML, XML, JSON within ONIX text fields
(type: XHTML)
-
EMPTY
-
-
Constructor Details
-
SalesRestrictionNote
public SalesRestrictionNote() -
SalesRestrictionNote
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-