org.jabber.protocol.amp
Class Amp

java.lang.Object
  extended by org.jabber.protocol.amp.Amp

public class Amp
extends java.lang.Object

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  java.lang.String from
           
protected  java.lang.Boolean perHop
           
protected  java.util.List<Rule> rule
           
protected  java.lang.String status
           
protected  java.lang.String to
           
 
Constructor Summary
Amp()
           
 
Method Summary
 java.lang.String getFrom()
          Gets the value of the from property.
 java.util.List<Rule> getRule()
          Gets the value of the rule property.
 java.lang.String getStatus()
          Gets the value of the status property.
 java.lang.String getTo()
          Gets the value of the to property.
 boolean isPerHop()
          Gets the value of the perHop property.
 void setFrom(java.lang.String value)
          Sets the value of the from property.
 void setPerHop(java.lang.Boolean value)
          Sets the value of the perHop property.
 void setStatus(java.lang.String value)
          Sets the value of the status property.
 void setTo(java.lang.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

rule

protected java.util.List<Rule> rule

from

protected java.lang.String from

perHop

protected java.lang.Boolean perHop

status

protected java.lang.String status

to

protected java.lang.String to
Constructor Detail

Amp

public Amp()
Method Detail

getRule

public java.util.List<Rule> getRule()
Gets the value of the rule property.

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


getFrom

public java.lang.String getFrom()
Gets the value of the from property.

Returns:
possible object is String

setFrom

public void setFrom(java.lang.String value)
Sets the value of the from property.

Parameters:
value - allowed object is String

isPerHop

public boolean isPerHop()
Gets the value of the perHop property.

Returns:
possible object is Boolean

setPerHop

public void setPerHop(java.lang.Boolean value)
Sets the value of the perHop property.

Parameters:
value - allowed object is Boolean

getStatus

public java.lang.String getStatus()
Gets the value of the status property.

Returns:
possible object is String

setStatus

public void setStatus(java.lang.String value)
Sets the value of the status property.

Parameters:
value - allowed object is String

getTo

public java.lang.String getTo()
Gets the value of the to property.

Returns:
possible object is String

setTo

public void setTo(java.lang.String value)
Sets the value of the to property.

Parameters:
value - allowed object is String


Copyright © 2005-2012 FuseSource, Corp.. All Rights Reserved.