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

oasis.names.tc.ebxml_regrep.xsd.rim._3.SubscriptionType Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.02.11 at 11:39:13 AM EST 
//


package oasis.names.tc.ebxml_regrep.xsd.rim._3;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.Duration;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * A Subscription for specified Events in an ebXML V3+ registry.
 * 
 * 

Java class for SubscriptionType complex type. * *

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

 * <complexType name="SubscriptionType">
 *   <complexContent>
 *     <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}RegistryObjectType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Action" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="selector" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}referenceURI" />
 *       <attribute name="startTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       <attribute name="endTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       <attribute name="notificationInterval" type="{http://www.w3.org/2001/XMLSchema}duration" default="P1D" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SubscriptionType", propOrder = { "action" }) public class SubscriptionType extends RegistryObjectType { @XmlElementRef(name = "Action", namespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0", type = JAXBElement.class, required = false) protected List> action; @XmlAttribute(name = "selector", required = true) protected String selector; @XmlAttribute(name = "startTime") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar startTime; @XmlAttribute(name = "endTime") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar endTime; @XmlAttribute(name = "notificationInterval") protected Duration notificationInterval; /** * Gets the value of the action 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 action property. * *

* For example, to add a new item, do as follows: *

     *    getAction().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link ActionType }{@code >} * {@link JAXBElement }{@code <}{@link NotifyActionType }{@code >} * * */ public List> getAction() { if (action == null) { action = new ArrayList>(); } return this.action; } /** * Gets the value of the selector property. * * @return * possible object is * {@link String } * */ public String getSelector() { return selector; } /** * Sets the value of the selector property. * * @param value * allowed object is * {@link String } * */ public void setSelector(String value) { this.selector = value; } /** * Gets the value of the startTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getStartTime() { return startTime; } /** * Sets the value of the startTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setStartTime(XMLGregorianCalendar value) { this.startTime = value; } /** * Gets the value of the endTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getEndTime() { return endTime; } /** * Sets the value of the endTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setEndTime(XMLGregorianCalendar value) { this.endTime = value; } /** * Gets the value of the notificationInterval property. * * @return * possible object is * {@link Duration } * */ public Duration getNotificationInterval() { return notificationInterval; } /** * Sets the value of the notificationInterval property. * * @param value * allowed object is * {@link Duration } * */ public void setNotificationInterval(Duration value) { this.notificationInterval = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy