All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.org.siri.siri20.NaturalLanguageStringStructure Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2025.01.07 at 02:19:39 PM UTC 
//


package uk.org.siri.siri20;

import java.io.Serializable;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.XmlValue;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * Tyoe for a string in a specified language.
 * 
 * 

Java class for NaturalLanguageStringStructure complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="NaturalLanguageStringStructure">
 *   <simpleContent>
 *     <extension base="<http://www.siri.org.uk/siri>PopulatedStringType">
 *       <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
 *     </extension>
 *   </simpleContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "NaturalLanguageStringStructure", propOrder = { "value" }) @XmlSeeAlso({ DefaultedTextStructure.class }) public class NaturalLanguageStringStructure implements Serializable { @XmlValue protected String value; @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String lang; /** * A restriction of W3C XML Schema's string that requires at least one character of text. * * @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; } /** * Gets the value of the lang property. * * @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 } * */ public void setLang(String value) { this.lang = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy