📄 subscribe.java
字号:
package org.oasis_open.docs.wsn._2004._06.wsn_ws_basenotification_1_2_draft_01;import javax.xml.bind.annotation.XmlAccessType;import javax.xml.bind.annotation.XmlAccessorType;import javax.xml.bind.annotation.XmlElement;import javax.xml.bind.annotation.XmlRootElement;import javax.xml.bind.annotation.XmlType;import javax.xml.datatype.XMLGregorianCalendar;import org.oasis_open.docs.wsrf._2004._06.wsrf_ws_resourceproperties_1_2_draft_01.QueryExpressionType;import org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType;/** * <p>Java class for Subscribe element declaration. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <element name="Subscribe"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="ConsumerReference" type="{http://schemas.xmlsoap.org/ws/2003/03/addressing}EndpointReferenceType"/> * <element name="TopicExpression" type="{http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd}TopicExpressionType"/> * <element name="UseNotify" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="Precondition" type="{http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd}QueryExpressionType" minOccurs="0"/> * <element name="Selector" type="{http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd}QueryExpressionType" minOccurs="0"/> * <element name="SubscriptionPolicy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> * <element name="InitialTerminationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </pre> * * */@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "", propOrder = { "consumerReference", "topicExpression", "useNotify", "precondition", "selector", "subscriptionPolicy", "initialTerminationTime"})@XmlRootElement(name = "Subscribe")public class Subscribe { @XmlElement(name = "ConsumerReference", namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd") protected EndpointReferenceType consumerReference; @XmlElement(name = "TopicExpression", namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd") protected TopicExpressionType topicExpression; @XmlElement(name = "UseNotify", namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd", defaultValue = "true") protected Boolean useNotify; @XmlElement(name = "Precondition", namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd") protected QueryExpressionType precondition; @XmlElement(name = "Selector", namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd") protected QueryExpressionType selector; @XmlElement(name = "SubscriptionPolicy", namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd") protected Object subscriptionPolicy; @XmlElement(name = "InitialTerminationTime", namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd") protected XMLGregorianCalendar initialTerminationTime; /** * Gets the value of the consumerReference property. * * @return * possible object is * {@link EndpointReferenceType } * */ public EndpointReferenceType getConsumerReference() { return consumerReference; } /** * Sets the value of the consumerReference property. * * @param value * allowed object is * {@link EndpointReferenceType } * */ public void setConsumerReference(EndpointReferenceType value) { this.consumerReference = value; } /** * Gets the value of the topicExpression property. * * @return * possible object is * {@link TopicExpressionType } * */ public TopicExpressionType getTopicExpression() { return topicExpression; } /** * Sets the value of the topicExpression property. * * @param value * allowed object is * {@link TopicExpressionType } * */ public void setTopicExpression(TopicExpressionType value) { this.topicExpression = value; } /** * Gets the value of the useNotify property. * * @return * possible object is * {@link Boolean } * */ public Boolean isUseNotify() { return useNotify; } /** * Sets the value of the useNotify property. * * @param value * allowed object is * {@link Boolean } * */ public void setUseNotify(Boolean value) { this.useNotify = value; } /** * Gets the value of the precondition property. * * @return * possible object is * {@link QueryExpressionType } * */ public QueryExpressionType getPrecondition() { return precondition; } /** * Sets the value of the precondition property. * * @param value * allowed object is * {@link QueryExpressionType } * */ public void setPrecondition(QueryExpressionType value) { this.precondition = value; } /** * Gets the value of the selector property. * * @return * possible object is * {@link QueryExpressionType } * */ public QueryExpressionType getSelector() { return selector; } /** * Sets the value of the selector property. * * @param value * allowed object is * {@link QueryExpressionType } * */ public void setSelector(QueryExpressionType value) { this.selector = value; } /** * Gets the value of the subscriptionPolicy property. * * @return * possible object is * {@link Object } * */ public Object getSubscriptionPolicy() { return subscriptionPolicy; } /** * Sets the value of the subscriptionPolicy property. * * @param value * allowed object is * {@link Object } * */ public void setSubscriptionPolicy(Object value) { this.subscriptionPolicy = value; } /** * Gets the value of the initialTerminationTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getInitialTerminationTime() { return initialTerminationTime; } /** * Sets the value of the initialTerminationTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setInitialTerminationTime(XMLGregorianCalendar value) { this.initialTerminationTime = value; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -