Module jonix.onix3

Class LocationName

java.lang.Object
com.tectonica.jonix.onix3.LocationName
All Implemented Interfaces:
OnixElement<String>, OnixTag, Serializable

public class LocationName extends Object implements OnixElement<String>, 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>

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.02
See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • language

      public Languages language
    • value

      public String value
      This is the raw content of LocationName. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Variable length text, suggested maximum length 100 characters

      (type: dt.NonEmptyString)

    • EMPTY

      public static final LocationName EMPTY
  • Constructor Details

    • LocationName

      public LocationName()
    • LocationName

      public LocationName(Element element)
  • Method Details