|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jabber.protocol.amp.Amp
public class Amp
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://jabber.org/protocol/amp}rule" maxOccurs="unbounded"/> </sequence> <attribute name="from" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="per-hop" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}NCName" /> <attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected String |
from
|
protected Boolean |
perHop
|
protected List<Rule> |
rule
|
protected String |
status
|
protected String |
to
|
Constructor Summary | |
---|---|
Amp()
|
Method Summary | |
---|---|
String |
getFrom()
Gets the value of the from property. |
List<Rule> |
getRule()
Gets the value of the rule property. |
String |
getStatus()
Gets the value of the status property. |
String |
getTo()
Gets the value of the to property. |
boolean |
isPerHop()
Gets the value of the perHop property. |
void |
setFrom(String value)
Sets the value of the from property. |
void |
setPerHop(Boolean value)
Sets the value of the perHop property. |
void |
setStatus(String value)
Sets the value of the status property. |
void |
setTo(String value)
Sets the value of the to property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<Rule> rule
protected String from
protected Boolean perHop
protected String status
protected String to
Constructor Detail |
---|
public Amp()
Method Detail |
---|
public List<Rule> getRule()
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 rule property.
For example, to add a new item, do as follows:
getRule().add(newItem);
Objects of the following type(s) are allowed in the list
Rule
public String getFrom()
String
public void setFrom(String value)
value
- allowed object is
String
public boolean isPerHop()
Boolean
public void setPerHop(Boolean value)
value
- allowed object is
Boolean
public String getStatus()
String
public void setStatus(String value)
value
- allowed object is
String
public String getTo()
String
public void setTo(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |