📄 startperiodicnotification.java
字号:
package cn.com.chinatelecom.schema.ctcc.terminal_location.notification_manager.v2_2.local;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import cn.com.chinatelecom.schema.ctcc.common.v2_1.SimpleReference;
import cn.com.chinatelecom.schema.ctcc.common.v2_1.TimeMetric;
/**
* <p>Java class for startPeriodicNotification complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="startPeriodicNotification">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="reference" type="{http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1}SimpleReference"/>
* <element name="addresses" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded"/>
* <element name="requestedAccuracy" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="frequency" type="{http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1}TimeMetric"/>
* <element name="duration" type="{http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1}TimeMetric" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "startPeriodicNotification", propOrder = {
"reference",
"addresses",
"requestedAccuracy",
"frequency",
"duration"
})
public class StartPeriodicNotification {
@XmlElement(required = true)
protected SimpleReference reference;
@XmlElement(required = true)
protected List<String> addresses;
protected int requestedAccuracy;
@XmlElement(required = true)
protected TimeMetric frequency;
protected TimeMetric duration;
/**
* Gets the value of the reference property.
*
* @return
* possible object is
* {@link SimpleReference }
*
*/
public SimpleReference getReference() {
return reference;
}
/**
* Sets the value of the reference property.
*
* @param value
* allowed object is
* {@link SimpleReference }
*
*/
public void setReference(SimpleReference value) {
this.reference = value;
}
/**
* Gets the value of the addresses 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 addresses property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAddresses().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getAddresses() {
if (addresses == null) {
addresses = new ArrayList<String>();
}
return this.addresses;
}
/**
* Gets the value of the requestedAccuracy property.
*
*/
public int getRequestedAccuracy() {
return requestedAccuracy;
}
/**
* Sets the value of the requestedAccuracy property.
*
*/
public void setRequestedAccuracy(int value) {
this.requestedAccuracy = value;
}
/**
* Gets the value of the frequency property.
*
* @return
* possible object is
* {@link TimeMetric }
*
*/
public TimeMetric getFrequency() {
return frequency;
}
/**
* Sets the value of the frequency property.
*
* @param value
* allowed object is
* {@link TimeMetric }
*
*/
public void setFrequency(TimeMetric value) {
this.frequency = value;
}
/**
* Gets the value of the duration property.
*
* @return
* possible object is
* {@link TimeMetric }
*
*/
public TimeMetric getDuration() {
return duration;
}
/**
* Sets the value of the duration property.
*
* @param value
* allowed object is
* {@link TimeMetric }
*
*/
public void setDuration(TimeMetric value) {
this.duration = value;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -