
de.vdv.ojp20.siri.NaturalLanguagePlaceNameStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ojp-java-model Show documentation
Show all versions of ojp-java-model Show documentation
Generates Java model from OJP xsds using jaxb.
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package de.vdv.ojp20.siri;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.XmlValue;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Java class for NaturalLanguagePlaceNameStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NaturalLanguagePlaceNameStructure", propOrder = {
"value"
})
public class NaturalLanguagePlaceNameStructure {
@XmlValue
protected String value;
/**
*
* <?xml version="1.0" encoding="UTF-8"?><div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"><h3>lang (as an attribute name)</h3><p>
* denotes an attribute whose value
* is a language code for the natural language of the content of
* any element; its value is inherited. This name is reserved
* by virtue of its definition in the XML specification.</p></div>
*
*
*
* <?xml version="1.0" encoding="UTF-8"?><div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"><h4>Notes</h4><p>
* Attempting to install the relevant ISO 2- and 3-letter
* codes as the enumerated possible values is probably never
* going to be a realistic possibility.
* </p><p>
* See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
* http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
* and the IANA language subtag registry at
* <a href="http://www.iana.org/assignments/language-subtag-registry">
* http://www.iana.org/assignments/language-subtag-registry</a>
* for further information.
* </p><p>
* The union allows for the 'un-declaration' of xml:lang with
* the empty string.
* </p></div>
*
*
*/
@XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")
protected String lang;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
*
* <?xml version="1.0" encoding="UTF-8"?><div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"><h3>lang (as an attribute name)</h3><p>
* denotes an attribute whose value
* is a language code for the natural language of the content of
* any element; its value is inherited. This name is reserved
* by virtue of its definition in the XML specification.</p></div>
*
*
*
* <?xml version="1.0" encoding="UTF-8"?><div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"><h4>Notes</h4><p>
* Attempting to install the relevant ISO 2- and 3-letter
* codes as the enumerated possible values is probably never
* going to be a realistic possibility.
* </p><p>
* See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
* http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
* and the IANA language subtag registry at
* <a href="http://www.iana.org/assignments/language-subtag-registry">
* http://www.iana.org/assignments/language-subtag-registry</a>
* for further information.
* </p><p>
* The union allows for the 'un-declaration' of xml:lang with
* the empty string.
* </p></div>
*
*
* @return
* possible object is
* {@link String }
*
*/
public String getLang() {
return lang;
}
/**
* Sets the value of the lang property.
*
* @param value
* allowed object is
* {@link String }
*
* @see #getLang()
*/
public void setLang(String value) {
this.lang = value;
}
public NaturalLanguagePlaceNameStructure withValue(String value) {
setValue(value);
return this;
}
public NaturalLanguagePlaceNameStructure withLang(String value) {
setLang(value);
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy