uk.org.siri.siri21.GeneralMessagePermissions Maven / Gradle / Ivy
Show all versions of siri-java-model Show documentation
//
// 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:41 PM UTC
//
package uk.org.siri.siri21;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}PermissionsStructure">
* <sequence>
* <element name="GeneralMessagePermission" type="{http://www.siri.org.uk/siri}GeneralMessageServicePermissionStructure" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"generalMessagePermissions"
})
@XmlRootElement(name = "GeneralMessagePermissions")
public class GeneralMessagePermissions
extends PermissionsStructure
implements Serializable
{
@XmlElement(name = "GeneralMessagePermission")
protected List generalMessagePermissions;
/**
* Gets the value of the generalMessagePermissions 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 Jakarta XML Binding object.
* This is why there is not a set
method for the generalMessagePermissions property.
*
*
* For example, to add a new item, do as follows:
*
* getGeneralMessagePermissions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GeneralMessageServicePermissionStructure }
*
*
*/
public List getGeneralMessagePermissions() {
if (generalMessagePermissions == null) {
generalMessagePermissions = new ArrayList();
}
return this.generalMessagePermissions;
}
}