![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.AbstractPermissionStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of siri-java-model Show documentation
Show all versions of siri-java-model Show documentation
Java objects based on the public SIRI XSDs
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.07 at 02:19:39 PM UTC
//
package uk.org.siri.siri20;
import java.io.Serializable;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
/**
* Type for Abstract Permission.
*
* Java class for AbstractPermissionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AbstractPermissionStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element name="AllParticipants" type="{http://www.siri.org.uk/siri}EmptyType"/>
* <element name="ParticipantRef" type="{http://www.siri.org.uk/siri}ParticipantRefStructure"/>
* </choice>
* <element name="GeneralCapabilities" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="RequestResponse" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="PublishSubscribe" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractPermissionStructure", propOrder = {
"participantRef",
"allParticipants",
"generalCapabilities"
})
@XmlSeeAlso({
StopTimetableServicePermissionStructure.class,
StopMonitoringServicePermissionStructure.class,
VehicleMonitoringServicePermissionStructure.class,
GeneralMessageServicePermissionStructure.class,
FacilityMonitoringServicePermissionStructure.class,
SituationExchangeServicePermissionStructure.class,
ProductionTimetablePermission.class
})
public class AbstractPermissionStructure
implements Serializable
{
@XmlElement(name = "ParticipantRef")
protected RequestorRef participantRef;
@XmlElement(name = "AllParticipants")
protected String allParticipants;
@XmlElement(name = "GeneralCapabilities")
protected AbstractPermissionStructure.GeneralCapabilities generalCapabilities;
/**
* Gets the value of the participantRef property.
*
* @return
* possible object is
* {@link RequestorRef }
*
*/
public RequestorRef getParticipantRef() {
return participantRef;
}
/**
* Sets the value of the participantRef property.
*
* @param value
* allowed object is
* {@link RequestorRef }
*
*/
public void setParticipantRef(RequestorRef value) {
this.participantRef = value;
}
/**
* Gets the value of the allParticipants property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAllParticipants() {
return allParticipants;
}
/**
* Sets the value of the allParticipants property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAllParticipants(String value) {
this.allParticipants = value;
}
/**
* Gets the value of the generalCapabilities property.
*
* @return
* possible object is
* {@link AbstractPermissionStructure.GeneralCapabilities }
*
*/
public AbstractPermissionStructure.GeneralCapabilities getGeneralCapabilities() {
return generalCapabilities;
}
/**
* Sets the value of the generalCapabilities property.
*
* @param value
* allowed object is
* {@link AbstractPermissionStructure.GeneralCapabilities }
*
*/
public void setGeneralCapabilities(AbstractPermissionStructure.GeneralCapabilities value) {
this.generalCapabilities = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="RequestResponse" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="PublishSubscribe" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"requestResponse",
"publishSubscribe"
})
public static class GeneralCapabilities
implements Serializable
{
@XmlElement(name = "RequestResponse", defaultValue = "true")
protected boolean requestResponse;
@XmlElement(name = "PublishSubscribe", defaultValue = "true")
protected boolean publishSubscribe;
/**
* Gets the value of the requestResponse property.
*
*/
public boolean isRequestResponse() {
return requestResponse;
}
/**
* Sets the value of the requestResponse property.
*
*/
public void setRequestResponse(boolean value) {
this.requestResponse = value;
}
/**
* Gets the value of the publishSubscribe property.
*
*/
public boolean isPublishSubscribe() {
return publishSubscribe;
}
/**
* Sets the value of the publishSubscribe property.
*
*/
public void setPublishSubscribe(boolean value) {
this.publishSubscribe = value;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy