public class Prtg extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.ToString
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="{urn:ietf:params:xml:ns:prtg-1.0}ChannelType" maxOccurs="unbounded"/>
<element name="error" type="{urn:ietf:params:xml:ns:prtg-1.0}BooleanType" minOccurs="0"/>
<element name="text" type="{urn:ietf:params:xml:ns:prtg-1.0}ErrorMessage" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BooleanType |
error |
protected String |
errorText |
protected List<ChannelType> |
result |
| Constructor and Description |
|---|
Prtg() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
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 |
isSetError() |
boolean |
isSetErrorText() |
boolean |
isSetResult() |
void |
setError(BooleanType value)
Sets the value of the error property.
|
void |
setErrorText(String value)
Sets the value of the errorText property.
|
String |
toString() |
void |
unsetResult() |
Prtg |
withError(BooleanType value) |
Prtg |
withErrorText(String value) |
Prtg |
withResult(ChannelType... values) |
Prtg |
withResult(Collection<ChannelType> values) |
protected List<ChannelType> result
protected BooleanType error
protected String errorText
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 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic Prtg withResult(ChannelType... values)
public Prtg withResult(Collection<ChannelType> values)
public Prtg withError(BooleanType value)
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyToCopyright © 2014. All rights reserved.