org.apache.activemq.schema.core
Class DtoTaskRunnerFactory

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

public class DtoTaskRunnerFactory
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="executor" minOccurs="0">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence minOccurs="0">
                     <any maxOccurs="unbounded" minOccurs="0"/>
                   </sequence>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="rejectedTaskHandler" minOccurs="0">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence minOccurs="0">
                     <any maxOccurs="unbounded" minOccurs="0"/>
                   </sequence>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
         </choice>
       </choice>
       <attribute name="daemon" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="dedicatedTaskRunner" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="executor" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="maxIterationsPerRun" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="maxThreadPoolSize" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="priority" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="rejectedTaskHandler" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="shutdownAwaitTermination" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class DtoTaskRunnerFactory.Executor
          Java class for anonymous complex type.
static class DtoTaskRunnerFactory.RejectedTaskHandler
          Java class for anonymous complex type.
 
Field Summary
protected  Boolean daemon
           
protected  Boolean dedicatedTaskRunner
           
protected  String executor
           
protected  List<Object> executorOrRejectedTaskHandlerOrAny
           
protected  String id
           
protected  BigInteger maxIterationsPerRun
           
protected  BigInteger maxThreadPoolSize
           
protected  String name
           
protected  BigInteger priority
           
protected  String rejectedTaskHandler
           
protected  Long shutdownAwaitTermination
           
 
Constructor Summary
DtoTaskRunnerFactory()
           
 
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 getExecutor()
          Gets the value of the executor property.
 List<Object> getExecutorOrRejectedTaskHandlerOrAny()
          Gets the value of the executorOrRejectedTaskHandlerOrAny property.
 String getId()
          Gets the value of the id property.
 BigInteger getMaxIterationsPerRun()
          Gets the value of the maxIterationsPerRun property.
 BigInteger getMaxThreadPoolSize()
          Gets the value of the maxThreadPoolSize 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.
 BigInteger getPriority()
          Gets the value of the priority property.
 String getRejectedTaskHandler()
          Gets the value of the rejectedTaskHandler property.
 Long getShutdownAwaitTermination()
          Gets the value of the shutdownAwaitTermination property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 Boolean isDaemon()
          Gets the value of the daemon property.
 Boolean isDedicatedTaskRunner()
          Gets the value of the dedicatedTaskRunner property.
 void setDaemon(Boolean value)
          Sets the value of the daemon property.
 void setDedicatedTaskRunner(Boolean value)
          Sets the value of the dedicatedTaskRunner property.
 void setExecutor(String value)
          Sets the value of the executor property.
 void setId(String value)
          Sets the value of the id property.
 void setMaxIterationsPerRun(BigInteger value)
          Sets the value of the maxIterationsPerRun property.
 void setMaxThreadPoolSize(BigInteger value)
          Sets the value of the maxThreadPoolSize property.
 void setName(String value)
          Sets the value of the name property.
 void setPriority(BigInteger value)
          Sets the value of the priority property.
 void setRejectedTaskHandler(String value)
          Sets the value of the rejectedTaskHandler property.
 void setShutdownAwaitTermination(Long value)
          Sets the value of the shutdownAwaitTermination property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

executorOrRejectedTaskHandlerOrAny

protected List<Object> executorOrRejectedTaskHandlerOrAny

daemon

protected Boolean daemon

dedicatedTaskRunner

protected Boolean dedicatedTaskRunner

executor

protected String executor

maxIterationsPerRun

protected BigInteger maxIterationsPerRun

maxThreadPoolSize

protected BigInteger maxThreadPoolSize

name

protected String name

priority

protected BigInteger priority

rejectedTaskHandler

protected String rejectedTaskHandler

shutdownAwaitTermination

protected Long shutdownAwaitTermination

id

protected String id
Constructor Detail

DtoTaskRunnerFactory

public DtoTaskRunnerFactory()
Method Detail

getExecutorOrRejectedTaskHandlerOrAny

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

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

    getExecutorOrRejectedTaskHandlerOrAny().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<DtoTaskRunnerFactory.RejectedTaskHandler> JAXBElement<DtoTaskRunnerFactory.Executor> Object


isDaemon

public Boolean isDaemon()
Gets the value of the daemon property.

Returns:
possible object is Boolean

setDaemon

public void setDaemon(Boolean value)
Sets the value of the daemon property.

Parameters:
value - allowed object is Boolean

isDedicatedTaskRunner

public Boolean isDedicatedTaskRunner()
Gets the value of the dedicatedTaskRunner property.

Returns:
possible object is Boolean

setDedicatedTaskRunner

public void setDedicatedTaskRunner(Boolean value)
Sets the value of the dedicatedTaskRunner property.

Parameters:
value - allowed object is Boolean

getExecutor

public String getExecutor()
Gets the value of the executor property.

Returns:
possible object is String

setExecutor

public void setExecutor(String value)
Sets the value of the executor property.

Parameters:
value - allowed object is String

getMaxIterationsPerRun

public BigInteger getMaxIterationsPerRun()
Gets the value of the maxIterationsPerRun property.

Returns:
possible object is BigInteger

setMaxIterationsPerRun

public void setMaxIterationsPerRun(BigInteger value)
Sets the value of the maxIterationsPerRun property.

Parameters:
value - allowed object is BigInteger

getMaxThreadPoolSize

public BigInteger getMaxThreadPoolSize()
Gets the value of the maxThreadPoolSize property.

Returns:
possible object is BigInteger

setMaxThreadPoolSize

public void setMaxThreadPoolSize(BigInteger value)
Sets the value of the maxThreadPoolSize property.

Parameters:
value - allowed object is BigInteger

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

getPriority

public BigInteger getPriority()
Gets the value of the priority property.

Returns:
possible object is BigInteger

setPriority

public void setPriority(BigInteger value)
Sets the value of the priority property.

Parameters:
value - allowed object is BigInteger

getRejectedTaskHandler

public String getRejectedTaskHandler()
Gets the value of the rejectedTaskHandler property.

Returns:
possible object is String

setRejectedTaskHandler

public void setRejectedTaskHandler(String value)
Sets the value of the rejectedTaskHandler property.

Parameters:
value - allowed object is String

getShutdownAwaitTermination

public Long getShutdownAwaitTermination()
Gets the value of the shutdownAwaitTermination property.

Returns:
possible object is Long

setShutdownAwaitTermination

public void setShutdownAwaitTermination(Long value)
Sets the value of the shutdownAwaitTermination property.

Parameters:
value - allowed object is Long

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.