
de.vdv.ojp20.siri.ActionsStructure Maven / Gradle / Ivy
Show all versions of ojp-java-model Show documentation
//
// 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.siri;
import java.util.ArrayList;
import java.util.Collection;
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.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Java class for ActionsStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ActionsStructure", propOrder = {
"publishToWebAction",
"publishToMobileAction",
"publishToTvAction",
"publishToAlertsAction",
"publishToDisplayAction",
"manualAction",
"notifyByEmailAction",
"notifyBySmsAction",
"notifyByPagerAction",
"notifyUserAction",
"publishingAction",
"extensions"
})
public class ActionsStructure {
@XmlElement(name = "PublishToWebAction")
protected List publishToWebAction;
@XmlElement(name = "PublishToMobileAction")
protected List publishToMobileAction;
@XmlElement(name = "PublishToTvAction")
protected List publishToTvAction;
@XmlElement(name = "PublishToAlertsAction")
protected List publishToAlertsAction;
@XmlElement(name = "PublishToDisplayAction")
protected List publishToDisplayAction;
@XmlElement(name = "ManualAction")
protected List manualAction;
@XmlElement(name = "NotifyByEmailAction")
protected List notifyByEmailAction;
@XmlElement(name = "NotifyBySmsAction")
protected List notifyBySmsAction;
@XmlElement(name = "NotifyByPagerAction")
protected List notifyByPagerAction;
@XmlElement(name = "NotifyUserAction")
protected List notifyUserAction;
@XmlElement(name = "PublishingAction")
protected List publishingAction;
@XmlElement(name = "Extensions")
protected Object extensions;
/**
* Gets the value of the publishToWebAction 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 JAXB object.
* This is why there is not a set
method for the publishToWebAction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getPublishToWebAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PublishToWebActionStructure }
*
*
*
* @return
* The value of the publishToWebAction property.
*/
public List getPublishToWebAction() {
if (publishToWebAction == null) {
publishToWebAction = new ArrayList<>();
}
return this.publishToWebAction;
}
/**
* Gets the value of the publishToMobileAction 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 JAXB object.
* This is why there is not a set
method for the publishToMobileAction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getPublishToMobileAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PublishToMobileActionStructure }
*
*
*
* @return
* The value of the publishToMobileAction property.
*/
public List getPublishToMobileAction() {
if (publishToMobileAction == null) {
publishToMobileAction = new ArrayList<>();
}
return this.publishToMobileAction;
}
/**
* Gets the value of the publishToTvAction 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 JAXB object.
* This is why there is not a set
method for the publishToTvAction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getPublishToTvAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PublishToTvActionStructure }
*
*
*
* @return
* The value of the publishToTvAction property.
*/
public List getPublishToTvAction() {
if (publishToTvAction == null) {
publishToTvAction = new ArrayList<>();
}
return this.publishToTvAction;
}
/**
* Gets the value of the publishToAlertsAction 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 JAXB object.
* This is why there is not a set
method for the publishToAlertsAction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getPublishToAlertsAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PublishToAlertsActionStructure }
*
*
*
* @return
* The value of the publishToAlertsAction property.
*/
public List getPublishToAlertsAction() {
if (publishToAlertsAction == null) {
publishToAlertsAction = new ArrayList<>();
}
return this.publishToAlertsAction;
}
/**
* Gets the value of the publishToDisplayAction 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 JAXB object.
* This is why there is not a set
method for the publishToDisplayAction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getPublishToDisplayAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PublishToDisplayActionStructure }
*
*
*
* @return
* The value of the publishToDisplayAction property.
*/
public List getPublishToDisplayAction() {
if (publishToDisplayAction == null) {
publishToDisplayAction = new ArrayList<>();
}
return this.publishToDisplayAction;
}
/**
* Gets the value of the manualAction 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 JAXB object.
* This is why there is not a set
method for the manualAction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getManualAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ManualAction }
*
*
*
* @return
* The value of the manualAction property.
*/
public List getManualAction() {
if (manualAction == null) {
manualAction = new ArrayList<>();
}
return this.manualAction;
}
/**
* Gets the value of the notifyByEmailAction 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 JAXB object.
* This is why there is not a set
method for the notifyByEmailAction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getNotifyByEmailAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NotifyByEmailActionStructure }
*
*
*
* @return
* The value of the notifyByEmailAction property.
*/
public List getNotifyByEmailAction() {
if (notifyByEmailAction == null) {
notifyByEmailAction = new ArrayList<>();
}
return this.notifyByEmailAction;
}
/**
* Gets the value of the notifyBySmsAction 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 JAXB object.
* This is why there is not a set
method for the notifyBySmsAction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getNotifyBySmsAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NotifyBySmsActionStructure }
*
*
*
* @return
* The value of the notifyBySmsAction property.
*/
public List getNotifyBySmsAction() {
if (notifyBySmsAction == null) {
notifyBySmsAction = new ArrayList<>();
}
return this.notifyBySmsAction;
}
/**
* Gets the value of the notifyByPagerAction 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 JAXB object.
* This is why there is not a set
method for the notifyByPagerAction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getNotifyByPagerAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NotifyByPagerActionStructure }
*
*
*
* @return
* The value of the notifyByPagerAction property.
*/
public List getNotifyByPagerAction() {
if (notifyByPagerAction == null) {
notifyByPagerAction = new ArrayList<>();
}
return this.notifyByPagerAction;
}
/**
* Gets the value of the notifyUserAction 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 JAXB object.
* This is why there is not a set
method for the notifyUserAction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getNotifyUserAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NotifyUserActionStructure }
*
*
*
* @return
* The value of the notifyUserAction property.
*/
public List getNotifyUserAction() {
if (notifyUserAction == null) {
notifyUserAction = new ArrayList<>();
}
return this.notifyUserAction;
}
/**
* Gets the value of the publishingAction 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 JAXB object.
* This is why there is not a set
method for the publishingAction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getPublishingAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PublishingActionStructure }
*
*
*
* @return
* The value of the publishingAction property.
*/
public List getPublishingAction() {
if (publishingAction == null) {
publishingAction = new ArrayList<>();
}
return this.publishingAction;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setExtensions(Object value) {
this.extensions = value;
}
public ActionsStructure withPublishToWebAction(PublishToWebActionStructure... values) {
if (values!= null) {
for (PublishToWebActionStructure value: values) {
getPublishToWebAction().add(value);
}
}
return this;
}
public ActionsStructure withPublishToWebAction(Collection values) {
if (values!= null) {
getPublishToWebAction().addAll(values);
}
return this;
}
public ActionsStructure withPublishToMobileAction(PublishToMobileActionStructure... values) {
if (values!= null) {
for (PublishToMobileActionStructure value: values) {
getPublishToMobileAction().add(value);
}
}
return this;
}
public ActionsStructure withPublishToMobileAction(Collection values) {
if (values!= null) {
getPublishToMobileAction().addAll(values);
}
return this;
}
public ActionsStructure withPublishToTvAction(PublishToTvActionStructure... values) {
if (values!= null) {
for (PublishToTvActionStructure value: values) {
getPublishToTvAction().add(value);
}
}
return this;
}
public ActionsStructure withPublishToTvAction(Collection values) {
if (values!= null) {
getPublishToTvAction().addAll(values);
}
return this;
}
public ActionsStructure withPublishToAlertsAction(PublishToAlertsActionStructure... values) {
if (values!= null) {
for (PublishToAlertsActionStructure value: values) {
getPublishToAlertsAction().add(value);
}
}
return this;
}
public ActionsStructure withPublishToAlertsAction(Collection values) {
if (values!= null) {
getPublishToAlertsAction().addAll(values);
}
return this;
}
public ActionsStructure withPublishToDisplayAction(PublishToDisplayActionStructure... values) {
if (values!= null) {
for (PublishToDisplayActionStructure value: values) {
getPublishToDisplayAction().add(value);
}
}
return this;
}
public ActionsStructure withPublishToDisplayAction(Collection values) {
if (values!= null) {
getPublishToDisplayAction().addAll(values);
}
return this;
}
public ActionsStructure withManualAction(ManualAction... values) {
if (values!= null) {
for (ManualAction value: values) {
getManualAction().add(value);
}
}
return this;
}
public ActionsStructure withManualAction(Collection values) {
if (values!= null) {
getManualAction().addAll(values);
}
return this;
}
public ActionsStructure withNotifyByEmailAction(NotifyByEmailActionStructure... values) {
if (values!= null) {
for (NotifyByEmailActionStructure value: values) {
getNotifyByEmailAction().add(value);
}
}
return this;
}
public ActionsStructure withNotifyByEmailAction(Collection values) {
if (values!= null) {
getNotifyByEmailAction().addAll(values);
}
return this;
}
public ActionsStructure withNotifyBySmsAction(NotifyBySmsActionStructure... values) {
if (values!= null) {
for (NotifyBySmsActionStructure value: values) {
getNotifyBySmsAction().add(value);
}
}
return this;
}
public ActionsStructure withNotifyBySmsAction(Collection values) {
if (values!= null) {
getNotifyBySmsAction().addAll(values);
}
return this;
}
public ActionsStructure withNotifyByPagerAction(NotifyByPagerActionStructure... values) {
if (values!= null) {
for (NotifyByPagerActionStructure value: values) {
getNotifyByPagerAction().add(value);
}
}
return this;
}
public ActionsStructure withNotifyByPagerAction(Collection values) {
if (values!= null) {
getNotifyByPagerAction().addAll(values);
}
return this;
}
public ActionsStructure withNotifyUserAction(NotifyUserActionStructure... values) {
if (values!= null) {
for (NotifyUserActionStructure value: values) {
getNotifyUserAction().add(value);
}
}
return this;
}
public ActionsStructure withNotifyUserAction(Collection values) {
if (values!= null) {
getNotifyUserAction().addAll(values);
}
return this;
}
public ActionsStructure withPublishingAction(PublishingActionStructure... values) {
if (values!= null) {
for (PublishingActionStructure value: values) {
getPublishingAction().add(value);
}
}
return this;
}
public ActionsStructure withPublishingAction(Collection values) {
if (values!= null) {
getPublishingAction().addAll(values);
}
return this;
}
public ActionsStructure withExtensions(Object value) {
setExtensions(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);
}
}