// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.06.12 at 01:48:04 PM CEST // package de.tum.in.i22.uc.pdp.xsd; import java.util.ArrayList; import java.util.List; import ae.javax.xml.bind.annotation.XmlAccessType; import ae.javax.xml.bind.annotation.XmlAccessorType; import ae.javax.xml.bind.annotation.XmlAttribute; import ae.javax.xml.bind.annotation.XmlElement; import ae.javax.xml.bind.annotation.XmlType; import de.tum.in.i22.uc.pdp.core.ParamMatch; import de.tum.in.i22.uc.pdp.core.condition.Operator; /** * <p>Java class for EventMatchingOperatorType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="EventMatchingOperatorType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="paramMatch" type="{http://www22.in.tum.de/enforcementLanguage}ParamMatchType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="action" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="tryEvent" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EventMatchingOperatorType", propOrder = { "params" }) public class EventMatchingOperatorType extends Operator { @XmlElement(name = "paramMatch", type = ParamMatch.class) protected List<ParamMatchType> params; @XmlAttribute(name = "action", required = true) protected String action; @XmlAttribute(name = "tryEvent", required = true) protected boolean tryEvent; /** * Gets the value of the params property. * * <p> * 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 <CODE>set</CODE> method for the params property. * * <p> * For example, to add a new item, do as follows: * <pre> * getParams().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ParamMatchType } * * */ public List<ParamMatchType> getParams() { if (params == null) { params = new ArrayList<ParamMatchType>(); } return this.params; } public boolean isSetParams() { return ((this.params!= null)&&(!this.params.isEmpty())); } public void unsetParams() { this.params = null; } /** * Gets the value of the action property. * * @return * possible object is * {@link String } * */ public String getAction() { return action; } /** * Sets the value of the action property. * * @param value * allowed object is * {@link String } * */ public void setAction(String value) { this.action = value; } public boolean isSetAction() { return (this.action!= null); } /** * Gets the value of the tryEvent property. * */ public boolean isTryEvent() { return tryEvent; } /** * Sets the value of the tryEvent property. * */ public void setTryEvent(boolean value) { this.tryEvent = value; } public boolean isSetTryEvent() { return true; } }