public class SensorsType extends Object implements Serializable
Java class for SensorsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SensorsType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="sensor" type="{http://xml.adeptnet.org/prtg/prtg-config.xsd}SensorType" maxOccurs="unbounded"/>
</sequence>
<attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
base |
protected List<SensorType> |
sensor |
| Constructor and Description |
|---|
SensorsType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBase()
Gets the value of the base property.
|
List<SensorType> |
getSensor()
Gets the value of the sensor property.
|
boolean |
isSetBase() |
boolean |
isSetSensor() |
void |
setBase(String value)
Sets the value of the base property.
|
void |
unsetSensor() |
protected List<SensorType> sensor
protected String base
public List<SensorType> getSensor()
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 sensor property.
For example, to add a new item, do as follows:
getSensor().add(newItem);
Objects of the following type(s) are allowed in the list
SensorType
public boolean isSetSensor()
public void unsetSensor()
public String getBase()
Stringpublic void setBase(String value)
value - allowed object is
Stringpublic boolean isSetBase()
Copyright © 2016. All rights reserved.