org.rutebanken.netex.model.AlternativeText_VersionedChildStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netex-java-model Show documentation
Show all versions of netex-java-model Show documentation
Generates Java model from NeTEx XSDs using JAXB.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.09.21 at 10:53:23 AM CEST
//
package org.rutebanken.netex.model;
import java.math.BigInteger;
import java.time.OffsetDateTime;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* Java class for AlternativeText_VersionedChildStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AlternativeText_VersionedChildStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}VersionedChildStructure">
* <sequence>
* <element name="DataManagedObjectRef" type="{http://www.netex.org.uk/netex}VersionOfObjectRefStructure" minOccurs="0"/>
* <element name="Text" type="{http://www.netex.org.uk/netex}MultilingualString"/>
* </sequence>
* <attribute name="attributeName" type="{http://www.w3.org/2001/XMLSchema}NCName" />
* <attribute name="useForLanguage" type="{http://www.w3.org/2001/XMLSchema}language" />
* <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AlternativeText_VersionedChildStructure", propOrder = {
"dataManagedObjectRef",
"text"
})
@XmlSeeAlso({
AlternativeText.class
})
public class AlternativeText_VersionedChildStructure
extends VersionedChildStructure
{
@XmlElement(name = "DataManagedObjectRef")
protected VersionOfObjectRefStructure dataManagedObjectRef;
@XmlElement(name = "Text", required = true)
protected MultilingualString text;
@XmlAttribute(name = "attributeName")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String attributeName;
@XmlAttribute(name = "useForLanguage")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String useForLanguage;
@XmlAttribute(name = "order")
protected BigInteger order;
/**
* Gets the value of the dataManagedObjectRef property.
*
* @return
* possible object is
* {@link VersionOfObjectRefStructure }
*
*/
public VersionOfObjectRefStructure getDataManagedObjectRef() {
return dataManagedObjectRef;
}
/**
* Sets the value of the dataManagedObjectRef property.
*
* @param value
* allowed object is
* {@link VersionOfObjectRefStructure }
*
*/
public void setDataManagedObjectRef(VersionOfObjectRefStructure value) {
this.dataManagedObjectRef = value;
}
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link MultilingualString }
*
*/
public MultilingualString getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link MultilingualString }
*
*/
public void setText(MultilingualString value) {
this.text = value;
}
/**
* Gets the value of the attributeName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAttributeName() {
return attributeName;
}
/**
* Sets the value of the attributeName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAttributeName(String value) {
this.attributeName = value;
}
/**
* Gets the value of the useForLanguage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUseForLanguage() {
return useForLanguage;
}
/**
* Sets the value of the useForLanguage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUseForLanguage(String value) {
this.useForLanguage = value;
}
/**
* Gets the value of the order property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getOrder() {
return order;
}
/**
* Sets the value of the order property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setOrder(BigInteger value) {
this.order = value;
}
public AlternativeText_VersionedChildStructure withDataManagedObjectRef(VersionOfObjectRefStructure value) {
setDataManagedObjectRef(value);
return this;
}
public AlternativeText_VersionedChildStructure withText(MultilingualString value) {
setText(value);
return this;
}
public AlternativeText_VersionedChildStructure withAttributeName(String value) {
setAttributeName(value);
return this;
}
public AlternativeText_VersionedChildStructure withUseForLanguage(String value) {
setUseForLanguage(value);
return this;
}
public AlternativeText_VersionedChildStructure withOrder(BigInteger value) {
setOrder(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public AlternativeText_VersionedChildStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public AlternativeText_VersionedChildStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public AlternativeText_VersionedChildStructure withId(String value) {
setId(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 - 2024 Weber Informatics LLC | Privacy Policy