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

de.vdv.ojp20.OJPErrorStructure Maven / Gradle / Ivy

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 java.math.BigInteger;
import de.vdv.ojp20.siri.OtherErrorStructure;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementRef;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;


/**
 * Type for Error: OJP Error.
 * 
 * 

Java class for OJPErrorStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "OJPErrorStructure", propOrder = { "errorType", "details", "logData" }) public class OJPErrorStructure extends OtherErrorStructure { @XmlElementRef(name = "ErrorType", namespace = "http://www.vdv.de/ojp", type = JAXBElement.class) protected JAXBElement errorType; /** * Explanation of the problem. * */ @XmlElement(name = "Details") protected InternationalTextStructure details; /** * Additional log data. * */ @XmlElement(name = "LogData") protected String logData; /** * Gets the value of the errorType property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link AvailabilityProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link ExchangePointsProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link FareProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link LineInformationProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link LocationProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link OJPGenericProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link StatusProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link StopEventProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link TripChangeProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link TripInfoProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link TripProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link String }{@code >} * */ public JAXBElement getErrorType() { return errorType; } /** * Sets the value of the errorType property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link AvailabilityProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link ExchangePointsProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link FareProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link LineInformationProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link LocationProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link OJPGenericProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link StatusProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link StopEventProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link TripChangeProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link TripInfoProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link TripProblemTypeEnumeration }{@code >} * {@link JAXBElement }{@code <}{@link String }{@code >} * */ public void setErrorType(JAXBElement value) { this.errorType = value; } /** * Explanation of the problem. * * @return * possible object is * {@link InternationalTextStructure } * */ public InternationalTextStructure getDetails() { return details; } /** * Sets the value of the details property. * * @param value * allowed object is * {@link InternationalTextStructure } * * @see #getDetails() */ public void setDetails(InternationalTextStructure value) { this.details = value; } /** * Additional log data. * * @return * possible object is * {@link String } * */ public String getLogData() { return logData; } /** * Sets the value of the logData property. * * @param value * allowed object is * {@link String } * * @see #getLogData() */ public void setLogData(String value) { this.logData = value; } public OJPErrorStructure withErrorType(JAXBElement value) { setErrorType(value); return this; } public OJPErrorStructure withDetails(InternationalTextStructure value) { setDetails(value); return this; } public OJPErrorStructure withLogData(String value) { setLogData(value); return this; } @Override public OJPErrorStructure withErrorText(String value) { setErrorText(value); return this; } @Override public OJPErrorStructure withNumber(BigInteger value) { setNumber(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