
de.vdv.ojp20.ResponseContextStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ojp-java-model Show documentation
Show all versions of ojp-java-model Show documentation
Generates Java model from OJP xsds using jaxb.
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package de.vdv.ojp20;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Structure providing response contexts related to journeys, containing collections of places and situations (from Transmodel "view" these are all implementation related aspects of the physical model).
*
* Java class for ResponseContextStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResponseContextStructure", propOrder = {
"operators",
"places",
"situations"
})
public class ResponseContextStructure {
/**
* Container for OPERATOR objects. Only operator objects that are referenced in the response should be put into the container.
*
*/
@XmlElement(name = "Operators")
protected Operators_RelStructure operators;
/**
* Container for place objects. Only place objects that are referenced in the response should be put into the container.
*
*/
@XmlElement(name = "Places")
protected PlacesStructure places;
/**
* Container for SIRI SX situation objects. Only situations that are referenced in the response should be put into the container.
*
*/
@XmlElement(name = "Situations")
protected SituationsStructure situations;
/**
* Container for OPERATOR objects. Only operator objects that are referenced in the response should be put into the container.
*
* @return
* possible object is
* {@link Operators_RelStructure }
*
*/
public Operators_RelStructure getOperators() {
return operators;
}
/**
* Sets the value of the operators property.
*
* @param value
* allowed object is
* {@link Operators_RelStructure }
*
* @see #getOperators()
*/
public void setOperators(Operators_RelStructure value) {
this.operators = value;
}
/**
* Container for place objects. Only place objects that are referenced in the response should be put into the container.
*
* @return
* possible object is
* {@link PlacesStructure }
*
*/
public PlacesStructure getPlaces() {
return places;
}
/**
* Sets the value of the places property.
*
* @param value
* allowed object is
* {@link PlacesStructure }
*
* @see #getPlaces()
*/
public void setPlaces(PlacesStructure value) {
this.places = value;
}
/**
* Container for SIRI SX situation objects. Only situations that are referenced in the response should be put into the container.
*
* @return
* possible object is
* {@link SituationsStructure }
*
*/
public SituationsStructure getSituations() {
return situations;
}
/**
* Sets the value of the situations property.
*
* @param value
* allowed object is
* {@link SituationsStructure }
*
* @see #getSituations()
*/
public void setSituations(SituationsStructure value) {
this.situations = value;
}
public ResponseContextStructure withOperators(Operators_RelStructure value) {
setOperators(value);
return this;
}
public ResponseContextStructure withPlaces(PlacesStructure value) {
setPlaces(value);
return this;
}
public ResponseContextStructure withSituations(SituationsStructure value) {
setSituations(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 - 2025 Weber Informatics LLC | Privacy Policy