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

org.rutebanken.netex.model.TraceStructure Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
//
// 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.XmlSeeAlso;
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 TraceStructure complex type. * *

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

 * <complexType name="TraceStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <group ref="{http://www.netex.org.uk/netex}TraceGroup"/>
 *       <attribute name="id" type="{http://www.netex.org.uk/netex}TraceIdType" />
 *       <attribute name="created" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TraceStructure", propOrder = { "objectRef", "changedAt", "changedBy", "description", "delta" }) @XmlSeeAlso({ Trace.class }) public class TraceStructure { @XmlElement(name = "ObjectRef") protected VersionOfObjectRefStructure objectRef; @XmlElement(name = "ChangedAt", required = true, type = String.class) @XmlJavaTypeAdapter(OffsetDateTimeISO8601XmlAdapter.class) @XmlSchemaType(name = "dateTime") protected OffsetDateTime changedAt; @XmlElement(name = "ChangedBy") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String changedBy; @XmlElement(name = "Description") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String description; @XmlElement(name = "Delta") protected DeltaStructure delta; @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 objectRef property. * * @return * possible object is * {@link VersionOfObjectRefStructure } * */ public VersionOfObjectRefStructure getObjectRef() { return objectRef; } /** * Sets the value of the objectRef property. * * @param value * allowed object is * {@link VersionOfObjectRefStructure } * */ public void setObjectRef(VersionOfObjectRefStructure value) { this.objectRef = value; } /** * Gets the value of the changedAt property. * * @return * possible object is * {@link String } * */ public OffsetDateTime getChangedAt() { return changedAt; } /** * Sets the value of the changedAt property. * * @param value * allowed object is * {@link String } * */ public void setChangedAt(OffsetDateTime value) { this.changedAt = value; } /** * Gets the value of the changedBy property. * * @return * possible object is * {@link String } * */ public String getChangedBy() { return changedBy; } /** * Sets the value of the changedBy property. * * @param value * allowed object is * {@link String } * */ public void setChangedBy(String value) { this.changedBy = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the delta property. * * @return * possible object is * {@link DeltaStructure } * */ public DeltaStructure getDelta() { return delta; } /** * Sets the value of the delta property. * * @param value * allowed object is * {@link DeltaStructure } * */ public void setDelta(DeltaStructure value) { this.delta = 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 TraceStructure withObjectRef(VersionOfObjectRefStructure value) { setObjectRef(value); return this; } public TraceStructure withChangedAt(OffsetDateTime value) { setChangedAt(value); return this; } public TraceStructure withChangedBy(String value) { setChangedBy(value); return this; } public TraceStructure withDescription(String value) { setDescription(value); return this; } public TraceStructure withDelta(DeltaStructure value) { setDelta(value); return this; } public TraceStructure withId(String value) { setId(value); return this; } public TraceStructure 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); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy