org.apache.activemq.schema.core
Class DtoRedeliveryPolicy

java.lang.Object
  extended by org.apache.activemq.schema.core.DtoRedeliveryPolicy
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class DtoRedeliveryPolicy
extends Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

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">
       <choice maxOccurs="unbounded" minOccurs="0">
         <choice>
           <element name="destination" minOccurs="0">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <choice minOccurs="0">
                     <element ref="{http://activemq.apache.org/schema/core}queue"/>
                     <element ref="{http://activemq.apache.org/schema/core}tempQueue"/>
                     <element ref="{http://activemq.apache.org/schema/core}tempTopic"/>
                     <element ref="{http://activemq.apache.org/schema/core}topic"/>
                     <any namespace='##other'/>
                   </choice>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
         </choice>
       </choice>
       <attribute name="backOffMultiplier" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="collisionAvoidancePercent" type="{http://www.w3.org/2001/XMLSchema}short" />
       <attribute name="destination" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="initialRedeliveryDelay" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="maximumRedeliveries" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="maximumRedeliveryDelay" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="queue" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="redeliveryDelay" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="tempQueue" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="tempTopic" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="topic" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="useCollisionAvoidance" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="useExponentialBackOff" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class DtoRedeliveryPolicy.Destination
          Java class for anonymous complex type.
 
Field Summary
protected  Double backOffMultiplier
           
protected  Short collisionAvoidancePercent
           
protected  String destination
           
protected  List<Object> destinationOrAny
           
protected  String id
           
protected  Long initialRedeliveryDelay
           
protected  BigInteger maximumRedeliveries
           
protected  Long maximumRedeliveryDelay
           
protected  String queue
           
protected  Long redeliveryDelay
           
protected  Boolean tempQueue
           
protected  Boolean tempTopic
           
protected  String topic
           
protected  Boolean useCollisionAvoidance
           
protected  Boolean useExponentialBackOff
           
 
Constructor Summary
DtoRedeliveryPolicy()
           
 
Method Summary
 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)
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 Double getBackOffMultiplier()
          Gets the value of the backOffMultiplier property.
 Short getCollisionAvoidancePercent()
          Gets the value of the collisionAvoidancePercent property.
 String getDestination()
          Gets the value of the destination property.
 List<Object> getDestinationOrAny()
          Gets the value of the destinationOrAny property.
 String getId()
          Gets the value of the id property.
 Long getInitialRedeliveryDelay()
          Gets the value of the initialRedeliveryDelay property.
 BigInteger getMaximumRedeliveries()
          Gets the value of the maximumRedeliveries property.
 Long getMaximumRedeliveryDelay()
          Gets the value of the maximumRedeliveryDelay property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 String getQueue()
          Gets the value of the queue property.
 Long getRedeliveryDelay()
          Gets the value of the redeliveryDelay property.
 String getTopic()
          Gets the value of the topic property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 Boolean isTempQueue()
          Gets the value of the tempQueue property.
 Boolean isTempTopic()
          Gets the value of the tempTopic property.
 Boolean isUseCollisionAvoidance()
          Gets the value of the useCollisionAvoidance property.
 Boolean isUseExponentialBackOff()
          Gets the value of the useExponentialBackOff property.
 void setBackOffMultiplier(Double value)
          Sets the value of the backOffMultiplier property.
 void setCollisionAvoidancePercent(Short value)
          Sets the value of the collisionAvoidancePercent property.
 void setDestination(String value)
          Sets the value of the destination property.
 void setId(String value)
          Sets the value of the id property.
 void setInitialRedeliveryDelay(Long value)
          Sets the value of the initialRedeliveryDelay property.
 void setMaximumRedeliveries(BigInteger value)
          Sets the value of the maximumRedeliveries property.
 void setMaximumRedeliveryDelay(Long value)
          Sets the value of the maximumRedeliveryDelay property.
 void setQueue(String value)
          Sets the value of the queue property.
 void setRedeliveryDelay(Long value)
          Sets the value of the redeliveryDelay property.
 void setTempQueue(Boolean value)
          Sets the value of the tempQueue property.
 void setTempTopic(Boolean value)
          Sets the value of the tempTopic property.
 void setTopic(String value)
          Sets the value of the topic property.
 void setUseCollisionAvoidance(Boolean value)
          Sets the value of the useCollisionAvoidance property.
 void setUseExponentialBackOff(Boolean value)
          Sets the value of the useExponentialBackOff property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

destinationOrAny

protected List<Object> destinationOrAny

backOffMultiplier

protected Double backOffMultiplier

collisionAvoidancePercent

protected Short collisionAvoidancePercent

destination

protected String destination

initialRedeliveryDelay

protected Long initialRedeliveryDelay

maximumRedeliveries

protected BigInteger maximumRedeliveries

maximumRedeliveryDelay

protected Long maximumRedeliveryDelay

queue

protected String queue

redeliveryDelay

protected Long redeliveryDelay

tempQueue

protected Boolean tempQueue

tempTopic

protected Boolean tempTopic

topic

protected String topic

useCollisionAvoidance

protected Boolean useCollisionAvoidance

useExponentialBackOff

protected Boolean useExponentialBackOff

id

protected String id
Constructor Detail

DtoRedeliveryPolicy

public DtoRedeliveryPolicy()
Method Detail

getDestinationOrAny

public List<Object> getDestinationOrAny()
Gets the value of the destinationOrAny 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 destinationOrAny property.

For example, to add a new item, do as follows:

    getDestinationOrAny().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<DtoRedeliveryPolicy.Destination> Object


getBackOffMultiplier

public Double getBackOffMultiplier()
Gets the value of the backOffMultiplier property.

Returns:
possible object is Double

setBackOffMultiplier

public void setBackOffMultiplier(Double value)
Sets the value of the backOffMultiplier property.

Parameters:
value - allowed object is Double

getCollisionAvoidancePercent

public Short getCollisionAvoidancePercent()
Gets the value of the collisionAvoidancePercent property.

Returns:
possible object is Short

setCollisionAvoidancePercent

public void setCollisionAvoidancePercent(Short value)
Sets the value of the collisionAvoidancePercent property.

Parameters:
value - allowed object is Short

getDestination

public String getDestination()
Gets the value of the destination property.

Returns:
possible object is String

setDestination

public void setDestination(String value)
Sets the value of the destination property.

Parameters:
value - allowed object is String

getInitialRedeliveryDelay

public Long getInitialRedeliveryDelay()
Gets the value of the initialRedeliveryDelay property.

Returns:
possible object is Long

setInitialRedeliveryDelay

public void setInitialRedeliveryDelay(Long value)
Sets the value of the initialRedeliveryDelay property.

Parameters:
value - allowed object is Long

getMaximumRedeliveries

public BigInteger getMaximumRedeliveries()
Gets the value of the maximumRedeliveries property.

Returns:
possible object is BigInteger

setMaximumRedeliveries

public void setMaximumRedeliveries(BigInteger value)
Sets the value of the maximumRedeliveries property.

Parameters:
value - allowed object is BigInteger

getMaximumRedeliveryDelay

public Long getMaximumRedeliveryDelay()
Gets the value of the maximumRedeliveryDelay property.

Returns:
possible object is Long

setMaximumRedeliveryDelay

public void setMaximumRedeliveryDelay(Long value)
Sets the value of the maximumRedeliveryDelay property.

Parameters:
value - allowed object is Long

getQueue

public String getQueue()
Gets the value of the queue property.

Returns:
possible object is String

setQueue

public void setQueue(String value)
Sets the value of the queue property.

Parameters:
value - allowed object is String

getRedeliveryDelay

public Long getRedeliveryDelay()
Gets the value of the redeliveryDelay property.

Returns:
possible object is Long

setRedeliveryDelay

public void setRedeliveryDelay(Long value)
Sets the value of the redeliveryDelay property.

Parameters:
value - allowed object is Long

isTempQueue

public Boolean isTempQueue()
Gets the value of the tempQueue property.

Returns:
possible object is Boolean

setTempQueue

public void setTempQueue(Boolean value)
Sets the value of the tempQueue property.

Parameters:
value - allowed object is Boolean

isTempTopic

public Boolean isTempTopic()
Gets the value of the tempTopic property.

Returns:
possible object is Boolean

setTempTopic

public void setTempTopic(Boolean value)
Sets the value of the tempTopic property.

Parameters:
value - allowed object is Boolean

getTopic

public String getTopic()
Gets the value of the topic property.

Returns:
possible object is String

setTopic

public void setTopic(String value)
Sets the value of the topic property.

Parameters:
value - allowed object is String

isUseCollisionAvoidance

public Boolean isUseCollisionAvoidance()
Gets the value of the useCollisionAvoidance property.

Returns:
possible object is Boolean

setUseCollisionAvoidance

public void setUseCollisionAvoidance(Boolean value)
Sets the value of the useCollisionAvoidance property.

Parameters:
value - allowed object is Boolean

isUseExponentialBackOff

public Boolean isUseExponentialBackOff()
Gets the value of the useExponentialBackOff property.

Returns:
possible object is Boolean

setUseExponentialBackOff

public void setUseExponentialBackOff(Boolean value)
Sets the value of the useExponentialBackOff property.

Parameters:
value - allowed object is Boolean

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.