public class Prtg extends Object implements Serializable
Java class for PrtgType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PrtgType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="result" type="{http://xml.adeptnet.org/prtg/prtg.xsd}ChannelType" maxOccurs="unbounded"/>
<element name="error" type="{http://xml.adeptnet.org/prtg/prtg.xsd}BooleanType" minOccurs="0"/>
<element name="text" type="{http://xml.adeptnet.org/prtg/prtg.xsd}ErrorMessage" minOccurs="0"/>
</sequence>
<attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
base |
protected BooleanType |
error |
protected String |
errorText |
protected List<ChannelType> |
result |
| Constructor and Description |
|---|
Prtg() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBase()
Gets the value of the base property.
|
BooleanType |
getError()
Gets the value of the error property.
|
String |
getErrorText()
Gets the value of the errorText property.
|
List<ChannelType> |
getResult()
Gets the value of the result property.
|
boolean |
isSetBase() |
boolean |
isSetError() |
boolean |
isSetErrorText() |
boolean |
isSetResult() |
void |
setBase(String value)
Sets the value of the base property.
|
void |
setError(BooleanType value)
Sets the value of the error property.
|
void |
setErrorText(String value)
Sets the value of the errorText property.
|
void |
unsetResult() |
protected List<ChannelType> result
protected BooleanType error
protected String errorText
protected String base
public List<ChannelType> getResult()
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 result property.
For example, to add a new item, do as follows:
getResult().add(newItem);
Objects of the following type(s) are allowed in the list
ChannelType
public boolean isSetResult()
public void unsetResult()
public BooleanType getError()
BooleanTypepublic void setError(BooleanType value)
value - allowed object is
BooleanTypepublic boolean isSetError()
public String getErrorText()
Stringpublic void setErrorText(String value)
value - allowed object is
Stringpublic boolean isSetErrorText()
public String getBase()
Stringpublic void setBase(String value)
value - allowed object is
Stringpublic boolean isSetBase()
Copyright © 2016. All rights reserved.