org.rutebanken.netex.model.DeltaStructure 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.time.OffsetDateTime;
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.XmlType;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import org.rutebanken.util.OffsetDateTimeISO8601XmlAdapter;
/**
* Java class for DeltaStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DeltaStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <group ref="{http://www.netex.org.uk/netex}DeltaGroup"/>
* <attribute name="id" type="{http://www.netex.org.uk/netex}DeltaIdType" />
* <attribute name="created" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DeltaStructure", propOrder = {
"simpleObjectRef",
"fromVersionRef",
"toVersionRef",
"modification",
"deltaValues"
})
public class DeltaStructure {
@XmlElement(name = "SimpleObjectRef")
protected SimpleObjectRefStructure simpleObjectRef;
@XmlElement(name = "FromVersionRef")
protected DeltaStructure.FromVersionRef fromVersionRef;
@XmlElement(name = "ToVersionRef", required = true)
protected DeltaStructure.ToVersionRef toVersionRef;
@XmlElement(name = "Modification", defaultValue = "revise")
@XmlSchemaType(name = "NMTOKEN")
protected ModificationEnumeration modification;
protected DeltaValues_RelStructure deltaValues;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String id;
@XmlAttribute(name = "created")
@XmlJavaTypeAdapter(OffsetDateTimeISO8601XmlAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime created;
/**
* Gets the value of the simpleObjectRef property.
*
* @return
* possible object is
* {@link SimpleObjectRefStructure }
*
*/
public SimpleObjectRefStructure getSimpleObjectRef() {
return simpleObjectRef;
}
/**
* Sets the value of the simpleObjectRef property.
*
* @param value
* allowed object is
* {@link SimpleObjectRefStructure }
*
*/
public void setSimpleObjectRef(SimpleObjectRefStructure value) {
this.simpleObjectRef = value;
}
/**
* Gets the value of the fromVersionRef property.
*
* @return
* possible object is
* {@link DeltaStructure.FromVersionRef }
*
*/
public DeltaStructure.FromVersionRef getFromVersionRef() {
return fromVersionRef;
}
/**
* Sets the value of the fromVersionRef property.
*
* @param value
* allowed object is
* {@link DeltaStructure.FromVersionRef }
*
*/
public void setFromVersionRef(DeltaStructure.FromVersionRef value) {
this.fromVersionRef = value;
}
/**
* Gets the value of the toVersionRef property.
*
* @return
* possible object is
* {@link DeltaStructure.ToVersionRef }
*
*/
public DeltaStructure.ToVersionRef getToVersionRef() {
return toVersionRef;
}
/**
* Sets the value of the toVersionRef property.
*
* @param value
* allowed object is
* {@link DeltaStructure.ToVersionRef }
*
*/
public void setToVersionRef(DeltaStructure.ToVersionRef value) {
this.toVersionRef = value;
}
/**
* Gets the value of the modification property.
*
* @return
* possible object is
* {@link ModificationEnumeration }
*
*/
public ModificationEnumeration getModification() {
return modification;
}
/**
* Sets the value of the modification property.
*
* @param value
* allowed object is
* {@link ModificationEnumeration }
*
*/
public void setModification(ModificationEnumeration value) {
this.modification = value;
}
/**
* Gets the value of the deltaValues property.
*
* @return
* possible object is
* {@link DeltaValues_RelStructure }
*
*/
public DeltaValues_RelStructure getDeltaValues() {
return deltaValues;
}
/**
* Sets the value of the deltaValues property.
*
* @param value
* allowed object is
* {@link DeltaValues_RelStructure }
*
*/
public void setDeltaValues(DeltaValues_RelStructure value) {
this.deltaValues = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the created property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getCreated() {
return created;
}
/**
* Sets the value of the created property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreated(OffsetDateTime value) {
this.created = value;
}
public DeltaStructure withSimpleObjectRef(SimpleObjectRefStructure value) {
setSimpleObjectRef(value);
return this;
}
public DeltaStructure withFromVersionRef(DeltaStructure.FromVersionRef value) {
setFromVersionRef(value);
return this;
}
public DeltaStructure withToVersionRef(DeltaStructure.ToVersionRef value) {
setToVersionRef(value);
return this;
}
public DeltaStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
public DeltaStructure withDeltaValues(DeltaValues_RelStructure value) {
setDeltaValues(value);
return this;
}
public DeltaStructure withId(String value) {
setId(value);
return this;
}
public DeltaStructure withCreated(OffsetDateTime value) {
setCreated(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);
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <simpleContent>
* <restriction base="<http://www.netex.org.uk/netex>SimpleObjectRefStructure">
* <attribute name="ref" use="required" type="{http://www.netex.org.uk/netex}VersionIdType" />
* </restriction>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class FromVersionRef
extends SimpleObjectRefStructure
{
@Override
public DeltaStructure.FromVersionRef withValue(String value) {
setValue(value);
return this;
}
@Override
public DeltaStructure.FromVersionRef withRef(String value) {
setRef(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);
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <simpleContent>
* <restriction base="<http://www.netex.org.uk/netex>SimpleObjectRefStructure">
* <attribute name="ref" use="required" type="{http://www.netex.org.uk/netex}VersionIdType" />
* </restriction>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class ToVersionRef
extends SimpleObjectRefStructure
{
@Override
public DeltaStructure.ToVersionRef withValue(String value) {
setValue(value);
return this;
}
@Override
public DeltaStructure.ToVersionRef withRef(String value) {
setRef(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