java.lang.Object
com.tectonica.jonix.onix3.LocationName
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Location name
The name of a city or town location within the specified country or region with which a contributor is particularly associated. Optional, and repeatable to provide parallel names for a single location in multiple languages (eg Baile Átha Cliath and Dublin, or Bruxelles and Brussel). The language attribute is optional for a single instance of <LocationName>, but must be included in each instance if <LocationName> is repeated.
Format | Variable length text, suggested maximum length 100 characters |
Reference name | <LocationName> |
Short tag | <j349> |
Cardinality | 0…n |
Attributes | language |
Example | <j349>Stephenville</j349> |
Product
⯈ProductSupply
⯈SupplyDetail
⯈Stock
⯈LocationName
Product
⯈DescriptiveDetail
⯈Contributor
⯈ContributorPlace
⯈LocationName
Product
⯈ContentDetail
⯈ContentItem
⯈Contributor
⯈ContributorPlace
⯈LocationName
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈Contributor
⯈ContributorPlace
⯈LocationName
Product
⯈DescriptiveDetail
⯈Collection
⯈Contributor
⯈ContributorPlace
⯈LocationName
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈EventOccurrence
⯈LocationName
- Since:
- Onix-3.02
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final LocationName
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of LocationName. -
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<LocationName> 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
-
value
This is the raw content of LocationName. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Variable length text, suggested maximum length 100 characters
(type: dt.NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
LocationName
public LocationName() -
LocationName
-
-
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
-