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

org.rutebanken.netex.model.CodespaceAssignment_VersionedChildStructure 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.math.BigInteger;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
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.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import org.rutebanken.util.OffsetDateXmlAdapter;


/**
 * 

Java class for CodespaceAssignment_VersionedChildStructure complex type. * *

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

 * <complexType name="CodespaceAssignment_VersionedChildStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}VersionedChildStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}CodespaceAssignmentGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CodespaceAssignment_VersionedChildStructure", propOrder = { "codespaceRef", "codespace", "administrativeZoneRef", "startDate", "endDate", "nameOfClassCodespaceAssignment", "codePrefix", "startValue", "endValue", "maximumLength", "description", "typeOfCodespaceAssignmentRef" }) @XmlSeeAlso({ CodespaceAssignment.class }) public class CodespaceAssignment_VersionedChildStructure extends VersionedChildStructure { @XmlElement(name = "CodespaceRef") protected CodespaceRefStructure codespaceRef; @XmlElement(name = "Codespace") protected Codespace codespace; @XmlElement(name = "AdministrativeZoneRef") protected AdministrativeZoneRef administrativeZoneRef; @XmlElement(name = "StartDate", type = String.class) @XmlJavaTypeAdapter(OffsetDateXmlAdapter.class) @XmlSchemaType(name = "date") protected OffsetDateTime startDate; @XmlElement(name = "EndDate", type = String.class) @XmlJavaTypeAdapter(OffsetDateXmlAdapter.class) @XmlSchemaType(name = "date") protected OffsetDateTime endDate; @XmlElement(name = "NameOfClass") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "Name") protected String nameOfClassCodespaceAssignment; @XmlElement(name = "CodePrefix") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected List codePrefix; @XmlElement(name = "StartValue") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String startValue; @XmlElement(name = "EndValue") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String endValue; @XmlElement(name = "MaximumLength") protected BigInteger maximumLength; @XmlElement(name = "Description") protected MultilingualString description; @XmlElement(name = "TypeOfCodespaceAssignmentRef") protected TypeOfCodespaceAssignmentRefStructure typeOfCodespaceAssignmentRef; /** * Gets the value of the codespaceRef property. * * @return * possible object is * {@link CodespaceRefStructure } * */ public CodespaceRefStructure getCodespaceRef() { return codespaceRef; } /** * Sets the value of the codespaceRef property. * * @param value * allowed object is * {@link CodespaceRefStructure } * */ public void setCodespaceRef(CodespaceRefStructure value) { this.codespaceRef = value; } /** * Gets the value of the codespace property. * * @return * possible object is * {@link Codespace } * */ public Codespace getCodespace() { return codespace; } /** * Sets the value of the codespace property. * * @param value * allowed object is * {@link Codespace } * */ public void setCodespace(Codespace value) { this.codespace = value; } /** * Gets the value of the administrativeZoneRef property. * * @return * possible object is * {@link AdministrativeZoneRef } * */ public AdministrativeZoneRef getAdministrativeZoneRef() { return administrativeZoneRef; } /** * Sets the value of the administrativeZoneRef property. * * @param value * allowed object is * {@link AdministrativeZoneRef } * */ public void setAdministrativeZoneRef(AdministrativeZoneRef value) { this.administrativeZoneRef = value; } /** * Gets the value of the startDate property. * * @return * possible object is * {@link String } * */ public OffsetDateTime getStartDate() { return startDate; } /** * Sets the value of the startDate property. * * @param value * allowed object is * {@link String } * */ public void setStartDate(OffsetDateTime value) { this.startDate = value; } /** * Gets the value of the endDate property. * * @return * possible object is * {@link String } * */ public OffsetDateTime getEndDate() { return endDate; } /** * Sets the value of the endDate property. * * @param value * allowed object is * {@link String } * */ public void setEndDate(OffsetDateTime value) { this.endDate = value; } /** * Gets the value of the nameOfClassCodespaceAssignment property. * * @return * possible object is * {@link String } * */ public String getNameOfClassCodespaceAssignment() { return nameOfClassCodespaceAssignment; } /** * Sets the value of the nameOfClassCodespaceAssignment property. * * @param value * allowed object is * {@link String } * */ public void setNameOfClassCodespaceAssignment(String value) { this.nameOfClassCodespaceAssignment = value; } /** * Gets the value of the codePrefix property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the codePrefix property. * *

* For example, to add a new item, do as follows: *

     *    getCodePrefix().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getCodePrefix() { if (codePrefix == null) { codePrefix = new ArrayList(); } return this.codePrefix; } /** * Gets the value of the startValue property. * * @return * possible object is * {@link String } * */ public String getStartValue() { return startValue; } /** * Sets the value of the startValue property. * * @param value * allowed object is * {@link String } * */ public void setStartValue(String value) { this.startValue = value; } /** * Gets the value of the endValue property. * * @return * possible object is * {@link String } * */ public String getEndValue() { return endValue; } /** * Sets the value of the endValue property. * * @param value * allowed object is * {@link String } * */ public void setEndValue(String value) { this.endValue = value; } /** * Gets the value of the maximumLength property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getMaximumLength() { return maximumLength; } /** * Sets the value of the maximumLength property. * * @param value * allowed object is * {@link BigInteger } * */ public void setMaximumLength(BigInteger value) { this.maximumLength = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setDescription(MultilingualString value) { this.description = value; } /** * Gets the value of the typeOfCodespaceAssignmentRef property. * * @return * possible object is * {@link TypeOfCodespaceAssignmentRefStructure } * */ public TypeOfCodespaceAssignmentRefStructure getTypeOfCodespaceAssignmentRef() { return typeOfCodespaceAssignmentRef; } /** * Sets the value of the typeOfCodespaceAssignmentRef property. * * @param value * allowed object is * {@link TypeOfCodespaceAssignmentRefStructure } * */ public void setTypeOfCodespaceAssignmentRef(TypeOfCodespaceAssignmentRefStructure value) { this.typeOfCodespaceAssignmentRef = value; } public CodespaceAssignment_VersionedChildStructure withCodespaceRef(CodespaceRefStructure value) { setCodespaceRef(value); return this; } public CodespaceAssignment_VersionedChildStructure withCodespace(Codespace value) { setCodespace(value); return this; } public CodespaceAssignment_VersionedChildStructure withAdministrativeZoneRef(AdministrativeZoneRef value) { setAdministrativeZoneRef(value); return this; } public CodespaceAssignment_VersionedChildStructure withStartDate(OffsetDateTime value) { setStartDate(value); return this; } public CodespaceAssignment_VersionedChildStructure withEndDate(OffsetDateTime value) { setEndDate(value); return this; } public CodespaceAssignment_VersionedChildStructure withNameOfClassCodespaceAssignment(String value) { setNameOfClassCodespaceAssignment(value); return this; } public CodespaceAssignment_VersionedChildStructure withCodePrefix(String... values) { if (values!= null) { for (String value: values) { getCodePrefix().add(value); } } return this; } public CodespaceAssignment_VersionedChildStructure withCodePrefix(Collection values) { if (values!= null) { getCodePrefix().addAll(values); } return this; } public CodespaceAssignment_VersionedChildStructure withStartValue(String value) { setStartValue(value); return this; } public CodespaceAssignment_VersionedChildStructure withEndValue(String value) { setEndValue(value); return this; } public CodespaceAssignment_VersionedChildStructure withMaximumLength(BigInteger value) { setMaximumLength(value); return this; } public CodespaceAssignment_VersionedChildStructure withDescription(MultilingualString value) { setDescription(value); return this; } public CodespaceAssignment_VersionedChildStructure withTypeOfCodespaceAssignmentRef(TypeOfCodespaceAssignmentRefStructure value) { setTypeOfCodespaceAssignmentRef(value); return this; } @Override public CodespaceAssignment_VersionedChildStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public CodespaceAssignment_VersionedChildStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public CodespaceAssignment_VersionedChildStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public CodespaceAssignment_VersionedChildStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public CodespaceAssignment_VersionedChildStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public CodespaceAssignment_VersionedChildStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public CodespaceAssignment_VersionedChildStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public CodespaceAssignment_VersionedChildStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public CodespaceAssignment_VersionedChildStructure withVersion(String value) { setVersion(value); return this; } @Override public CodespaceAssignment_VersionedChildStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public CodespaceAssignment_VersionedChildStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public CodespaceAssignment_VersionedChildStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public CodespaceAssignment_VersionedChildStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public CodespaceAssignment_VersionedChildStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public CodespaceAssignment_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