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

org.rutebanken.netex.model.DeltaValueStructure 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 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;


/**
 * 

Java class for DeltaValueStructure complex type. * *

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

 * <complexType name="DeltaValueStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <group ref="{http://www.netex.org.uk/netex}DeltaValueGroup"/>
 *       <attribute name="id" type="{http://www.netex.org.uk/netex}DeltaValueIdType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DeltaValueStructure", propOrder = { "deltaRef", "modification", "valueName", "oldValue", "newValue" }) public class DeltaValueStructure { @XmlElement(name = "DeltaRef") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String deltaRef; @XmlElement(name = "Modification", defaultValue = "revise") @XmlSchemaType(name = "NMTOKEN") protected ModificationEnumeration modification; @XmlElement(name = "ValueName") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String valueName; @XmlElement(name = "OldValue") protected Object oldValue; @XmlElement(name = "NewValue") protected Object newValue; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String id; /** * Gets the value of the deltaRef property. * * @return * possible object is * {@link String } * */ public String getDeltaRef() { return deltaRef; } /** * Sets the value of the deltaRef property. * * @param value * allowed object is * {@link String } * */ public void setDeltaRef(String value) { this.deltaRef = 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 valueName property. * * @return * possible object is * {@link String } * */ public String getValueName() { return valueName; } /** * Sets the value of the valueName property. * * @param value * allowed object is * {@link String } * */ public void setValueName(String value) { this.valueName = value; } /** * Gets the value of the oldValue property. * * @return * possible object is * {@link Object } * */ public Object getOldValue() { return oldValue; } /** * Sets the value of the oldValue property. * * @param value * allowed object is * {@link Object } * */ public void setOldValue(Object value) { this.oldValue = value; } /** * Gets the value of the newValue property. * * @return * possible object is * {@link Object } * */ public Object getNewValue() { return newValue; } /** * Sets the value of the newValue property. * * @param value * allowed object is * {@link Object } * */ public void setNewValue(Object value) { this.newValue = 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; } public DeltaValueStructure withDeltaRef(String value) { setDeltaRef(value); return this; } public DeltaValueStructure withModification(ModificationEnumeration value) { setModification(value); return this; } public DeltaValueStructure withValueName(String value) { setValueName(value); return this; } public DeltaValueStructure withOldValue(Object value) { setOldValue(value); return this; } public DeltaValueStructure withNewValue(Object value) { setNewValue(value); return this; } public DeltaValueStructure 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