org.rutebanken.netex.model.DisplayAssignment_VersionStructure 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.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* Java class for DisplayAssignment_VersionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DisplayAssignment_VersionStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}Assignment_VersionStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}DisplayAssignmentGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DisplayAssignment_VersionStructure", propOrder = {
"logicalDisplayRef",
"scheduledStopPointRef",
"vehicleMode",
"lineRef",
"directionRef",
"journeyPatternRef",
"displayAssignmentType",
"numberOfJourneysToShow",
"displayPriority"
})
@XmlSeeAlso({
DisplayAssignment.class
})
public class DisplayAssignment_VersionStructure
extends Assignment_VersionStructure
{
@XmlElement(name = "LogicalDisplayRef")
protected LogicalDisplayRefStructure logicalDisplayRef;
@XmlElementRef(name = "ScheduledStopPointRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class)
protected JAXBElement extends ScheduledStopPointRefStructure> scheduledStopPointRef;
@XmlElement(name = "VehicleMode")
@XmlSchemaType(name = "NMTOKEN")
protected AllModesEnumeration vehicleMode;
@XmlElementRef(name = "LineRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false)
protected JAXBElement extends LineRefStructure> lineRef;
@XmlElement(name = "DirectionRef")
protected DirectionRefStructure directionRef;
@XmlElementRef(name = "JourneyPatternRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false)
protected JAXBElement extends JourneyPatternRefStructure> journeyPatternRef;
@XmlElement(name = "DisplayAssignmentType", defaultValue = "all")
@XmlSchemaType(name = "normalizedString")
protected DisplayAssignmentTypeEnumeration displayAssignmentType;
@XmlElement(name = "NumberOfJourneysToShow")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger numberOfJourneysToShow;
@XmlElement(name = "DisplayPriority")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger displayPriority;
/**
* Gets the value of the logicalDisplayRef property.
*
* @return
* possible object is
* {@link LogicalDisplayRefStructure }
*
*/
public LogicalDisplayRefStructure getLogicalDisplayRef() {
return logicalDisplayRef;
}
/**
* Sets the value of the logicalDisplayRef property.
*
* @param value
* allowed object is
* {@link LogicalDisplayRefStructure }
*
*/
public void setLogicalDisplayRef(LogicalDisplayRefStructure value) {
this.logicalDisplayRef = value;
}
/**
* Gets the value of the scheduledStopPointRef property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link FareScheduledStopPointRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ScheduledStopPointRefStructure }{@code >}
*
*/
public JAXBElement extends ScheduledStopPointRefStructure> getScheduledStopPointRef() {
return scheduledStopPointRef;
}
/**
* Sets the value of the scheduledStopPointRef property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link FareScheduledStopPointRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ScheduledStopPointRefStructure }{@code >}
*
*/
public void setScheduledStopPointRef(JAXBElement extends ScheduledStopPointRefStructure> value) {
this.scheduledStopPointRef = value;
}
/**
* Gets the value of the vehicleMode property.
*
* @return
* possible object is
* {@link AllModesEnumeration }
*
*/
public AllModesEnumeration getVehicleMode() {
return vehicleMode;
}
/**
* Sets the value of the vehicleMode property.
*
* @param value
* allowed object is
* {@link AllModesEnumeration }
*
*/
public void setVehicleMode(AllModesEnumeration value) {
this.vehicleMode = value;
}
/**
* Gets the value of the lineRef property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link FlexibleLineRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link LineRefStructure }{@code >}
*
*/
public JAXBElement extends LineRefStructure> getLineRef() {
return lineRef;
}
/**
* Sets the value of the lineRef property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link FlexibleLineRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link LineRefStructure }{@code >}
*
*/
public void setLineRef(JAXBElement extends LineRefStructure> value) {
this.lineRef = value;
}
/**
* Gets the value of the directionRef property.
*
* @return
* possible object is
* {@link DirectionRefStructure }
*
*/
public DirectionRefStructure getDirectionRef() {
return directionRef;
}
/**
* Sets the value of the directionRef property.
*
* @param value
* allowed object is
* {@link DirectionRefStructure }
*
*/
public void setDirectionRef(DirectionRefStructure value) {
this.directionRef = value;
}
/**
* Gets the value of the journeyPatternRef property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link ServiceJourneyPatternRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link JourneyPatternRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ServicePatternRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link DeadRunJourneyPatternRefStructure }{@code >}
*
*/
public JAXBElement extends JourneyPatternRefStructure> getJourneyPatternRef() {
return journeyPatternRef;
}
/**
* Sets the value of the journeyPatternRef property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link ServiceJourneyPatternRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link JourneyPatternRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ServicePatternRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link DeadRunJourneyPatternRefStructure }{@code >}
*
*/
public void setJourneyPatternRef(JAXBElement extends JourneyPatternRefStructure> value) {
this.journeyPatternRef = value;
}
/**
* Gets the value of the displayAssignmentType property.
*
* @return
* possible object is
* {@link DisplayAssignmentTypeEnumeration }
*
*/
public DisplayAssignmentTypeEnumeration getDisplayAssignmentType() {
return displayAssignmentType;
}
/**
* Sets the value of the displayAssignmentType property.
*
* @param value
* allowed object is
* {@link DisplayAssignmentTypeEnumeration }
*
*/
public void setDisplayAssignmentType(DisplayAssignmentTypeEnumeration value) {
this.displayAssignmentType = value;
}
/**
* Gets the value of the numberOfJourneysToShow property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getNumberOfJourneysToShow() {
return numberOfJourneysToShow;
}
/**
* Sets the value of the numberOfJourneysToShow property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setNumberOfJourneysToShow(BigInteger value) {
this.numberOfJourneysToShow = value;
}
/**
* Gets the value of the displayPriority property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getDisplayPriority() {
return displayPriority;
}
/**
* Sets the value of the displayPriority property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setDisplayPriority(BigInteger value) {
this.displayPriority = value;
}
public DisplayAssignment_VersionStructure withLogicalDisplayRef(LogicalDisplayRefStructure value) {
setLogicalDisplayRef(value);
return this;
}
public DisplayAssignment_VersionStructure withScheduledStopPointRef(JAXBElement extends ScheduledStopPointRefStructure> value) {
setScheduledStopPointRef(value);
return this;
}
public DisplayAssignment_VersionStructure withVehicleMode(AllModesEnumeration value) {
setVehicleMode(value);
return this;
}
public DisplayAssignment_VersionStructure withLineRef(JAXBElement extends LineRefStructure> value) {
setLineRef(value);
return this;
}
public DisplayAssignment_VersionStructure withDirectionRef(DirectionRefStructure value) {
setDirectionRef(value);
return this;
}
public DisplayAssignment_VersionStructure withJourneyPatternRef(JAXBElement extends JourneyPatternRefStructure> value) {
setJourneyPatternRef(value);
return this;
}
public DisplayAssignment_VersionStructure withDisplayAssignmentType(DisplayAssignmentTypeEnumeration value) {
setDisplayAssignmentType(value);
return this;
}
public DisplayAssignment_VersionStructure withNumberOfJourneysToShow(BigInteger value) {
setNumberOfJourneysToShow(value);
return this;
}
public DisplayAssignment_VersionStructure withDisplayPriority(BigInteger value) {
setDisplayPriority(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withDescription(MultilingualString value) {
setDescription(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withOrder(BigInteger value) {
setOrder(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public DisplayAssignment_VersionStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public DisplayAssignment_VersionStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public DisplayAssignment_VersionStructure 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