org.apache.activemq.schema.core
Class DtoAbortSlowConsumerStrategy

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

public class DtoAbortSlowConsumerStrategy
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="brokerService" minOccurs="0">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <choice minOccurs="0">
                     <element ref="{http://activemq.apache.org/schema/core}destinationPathSeparatorPlugin"/>
                     <element ref="{http://activemq.apache.org/schema/core}forcePersistencyModeBroker"/>
                     <element ref="{http://activemq.apache.org/schema/core}loggingBrokerPlugin"/>
                     <element ref="{http://activemq.apache.org/schema/core}multicastTraceBrokerPlugin"/>
                     <element ref="{http://activemq.apache.org/schema/core}redeliveryPlugin"/>
                     <element ref="{http://activemq.apache.org/schema/core}timeStampingBrokerPlugin"/>
                     <element ref="{http://activemq.apache.org/schema/core}traceBrokerPathPlugin"/>
                     <element ref="{http://activemq.apache.org/schema/core}udpTraceBrokerPlugin"/>
                     <any namespace='##other'/>
                   </choice>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
         </choice>
       </choice>
       <attribute name="abortConnection" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="brokerService" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="checkPeriod" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="maxSlowCount" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="maxSlowDuration" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class DtoAbortSlowConsumerStrategy.BrokerService
          Java class for anonymous complex type.
 
Field Summary
protected  Boolean abortConnection
           
protected  String brokerService
           
protected  List<Object> brokerServiceOrAny
           
protected  Long checkPeriod
           
protected  String id
           
protected  Long maxSlowCount
           
protected  Long maxSlowDuration
           
protected  String name
           
 
Constructor Summary
DtoAbortSlowConsumerStrategy()
           
 
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)
           
 String getBrokerService()
          Gets the value of the brokerService property.
 List<Object> getBrokerServiceOrAny()
          Gets the value of the brokerServiceOrAny property.
 Long getCheckPeriod()
          Gets the value of the checkPeriod property.
 String getId()
          Gets the value of the id property.
 Long getMaxSlowCount()
          Gets the value of the maxSlowCount property.
 Long getMaxSlowDuration()
          Gets the value of the maxSlowDuration property.
 String getName()
          Gets the value of the name property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 Boolean isAbortConnection()
          Gets the value of the abortConnection property.
 void setAbortConnection(Boolean value)
          Sets the value of the abortConnection property.
 void setBrokerService(String value)
          Sets the value of the brokerService property.
 void setCheckPeriod(Long value)
          Sets the value of the checkPeriod property.
 void setId(String value)
          Sets the value of the id property.
 void setMaxSlowCount(Long value)
          Sets the value of the maxSlowCount property.
 void setMaxSlowDuration(Long value)
          Sets the value of the maxSlowDuration property.
 void setName(String value)
          Sets the value of the name property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

brokerServiceOrAny

protected List<Object> brokerServiceOrAny

abortConnection

protected Boolean abortConnection

brokerService

protected String brokerService

checkPeriod

protected Long checkPeriod

maxSlowCount

protected Long maxSlowCount

maxSlowDuration

protected Long maxSlowDuration

name

protected String name

id

protected String id
Constructor Detail

DtoAbortSlowConsumerStrategy

public DtoAbortSlowConsumerStrategy()
Method Detail

getBrokerServiceOrAny

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

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

    getBrokerServiceOrAny().add(newItem);
 

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


isAbortConnection

public Boolean isAbortConnection()
Gets the value of the abortConnection property.

Returns:
possible object is Boolean

setAbortConnection

public void setAbortConnection(Boolean value)
Sets the value of the abortConnection property.

Parameters:
value - allowed object is Boolean

getBrokerService

public String getBrokerService()
Gets the value of the brokerService property.

Returns:
possible object is String

setBrokerService

public void setBrokerService(String value)
Sets the value of the brokerService property.

Parameters:
value - allowed object is String

getCheckPeriod

public Long getCheckPeriod()
Gets the value of the checkPeriod property.

Returns:
possible object is Long

setCheckPeriod

public void setCheckPeriod(Long value)
Sets the value of the checkPeriod property.

Parameters:
value - allowed object is Long

getMaxSlowCount

public Long getMaxSlowCount()
Gets the value of the maxSlowCount property.

Returns:
possible object is Long

setMaxSlowCount

public void setMaxSlowCount(Long value)
Sets the value of the maxSlowCount property.

Parameters:
value - allowed object is Long

getMaxSlowDuration

public Long getMaxSlowDuration()
Gets the value of the maxSlowDuration property.

Returns:
possible object is Long

setMaxSlowDuration

public void setMaxSlowDuration(Long value)
Sets the value of the maxSlowDuration property.

Parameters:
value - allowed object is Long

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

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.