org.apache.activemq.schema.core
Class DtoJournalPersistenceAdapter

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

public class DtoJournalPersistenceAdapter
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}broker"/>
                     <element ref="{http://activemq.apache.org/schema/core}brokerService"/>
                     <any namespace='##other'/>
                   </choice>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="journal" 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="longTermPersistence" minOccurs="0">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <choice minOccurs="0">
                     <element ref="{http://activemq.apache.org/schema/core}jdbcPersistenceAdapter"/>
                     <element ref="{http://activemq.apache.org/schema/core}journalPersistenceAdapter"/>
                     <element ref="{http://activemq.apache.org/schema/core}kahaDB"/>
                     <element ref="{http://activemq.apache.org/schema/core}levelDB"/>
                     <element ref="{http://activemq.apache.org/schema/core}mKahaDB"/>
                     <element ref="{http://activemq.apache.org/schema/core}memoryPersistenceAdapter"/>
                     <element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/>
                     <any namespace='##other'/>
                   </choice>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="persistenceAdapter" minOccurs="0">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <choice minOccurs="0">
                     <element ref="{http://activemq.apache.org/schema/core}jdbcPersistenceAdapter"/>
                     <element ref="{http://activemq.apache.org/schema/core}journalPersistenceAdapter"/>
                     <element ref="{http://activemq.apache.org/schema/core}kahaDB"/>
                     <element ref="{http://activemq.apache.org/schema/core}levelDB"/>
                     <element ref="{http://activemq.apache.org/schema/core}mKahaDB"/>
                     <element ref="{http://activemq.apache.org/schema/core}memoryPersistenceAdapter"/>
                     <element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/>
                     <any namespace='##other'/>
                   </choice>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="taskRunnerFactory" minOccurs="0">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <choice minOccurs="0">
                     <element ref="{http://activemq.apache.org/schema/core}taskRunnerFactory"/>
                     <any namespace='##other'/>
                   </choice>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="usageManager" minOccurs="0">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <choice minOccurs="0">
                     <element ref="{http://activemq.apache.org/schema/core}systemUsage"/>
                     <any namespace='##other'/>
                   </choice>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
         </choice>
       </choice>
       <attribute name="brokerName" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="brokerService" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="directory" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="journal" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="longTermPersistence" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="maxCheckpointMessageAddSize" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="maxCheckpointWorkers" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="persistenceAdapter" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="taskRunnerFactory" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="usageManager" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="useExternalMessageReferences" 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 DtoJournalPersistenceAdapter.BrokerService
          Java class for anonymous complex type.
static class DtoJournalPersistenceAdapter.Journal
          Java class for anonymous complex type.
static class DtoJournalPersistenceAdapter.LongTermPersistence
          Java class for anonymous complex type.
static class DtoJournalPersistenceAdapter.PersistenceAdapter
          Java class for anonymous complex type.
static class DtoJournalPersistenceAdapter.TaskRunnerFactory
          Java class for anonymous complex type.
static class DtoJournalPersistenceAdapter.UsageManager
          Java class for anonymous complex type.
 
Field Summary
protected  String brokerName
           
protected  String brokerService
           
protected  List<Object> brokerServiceOrJournalOrLongTermPersistence
           
protected  String directory
           
protected  String id
           
protected  String journal
           
protected  String longTermPersistence
           
protected  BigInteger maxCheckpointMessageAddSize
           
protected  BigInteger maxCheckpointWorkers
           
protected  String persistenceAdapter
           
protected  String taskRunnerFactory
           
protected  String usageManager
           
protected  Boolean useExternalMessageReferences
           
 
Constructor Summary
DtoJournalPersistenceAdapter()
           
 
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 getBrokerName()
          Gets the value of the brokerName property.
 String getBrokerService()
          Gets the value of the brokerService property.
 List<Object> getBrokerServiceOrJournalOrLongTermPersistence()
          Gets the value of the brokerServiceOrJournalOrLongTermPersistence property.
 String getDirectory()
          Gets the value of the directory property.
 String getId()
          Gets the value of the id property.
 String getJournal()
          Gets the value of the journal property.
 String getLongTermPersistence()
          Gets the value of the longTermPersistence property.
 BigInteger getMaxCheckpointMessageAddSize()
          Gets the value of the maxCheckpointMessageAddSize property.
 BigInteger getMaxCheckpointWorkers()
          Gets the value of the maxCheckpointWorkers property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 String getPersistenceAdapter()
          Gets the value of the persistenceAdapter property.
 String getTaskRunnerFactory()
          Gets the value of the taskRunnerFactory property.
 String getUsageManager()
          Gets the value of the usageManager property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 Boolean isUseExternalMessageReferences()
          Gets the value of the useExternalMessageReferences property.
 void setBrokerName(String value)
          Sets the value of the brokerName property.
 void setBrokerService(String value)
          Sets the value of the brokerService property.
 void setDirectory(String value)
          Sets the value of the directory property.
 void setId(String value)
          Sets the value of the id property.
 void setJournal(String value)
          Sets the value of the journal property.
 void setLongTermPersistence(String value)
          Sets the value of the longTermPersistence property.
 void setMaxCheckpointMessageAddSize(BigInteger value)
          Sets the value of the maxCheckpointMessageAddSize property.
 void setMaxCheckpointWorkers(BigInteger value)
          Sets the value of the maxCheckpointWorkers property.
 void setPersistenceAdapter(String value)
          Sets the value of the persistenceAdapter property.
 void setTaskRunnerFactory(String value)
          Sets the value of the taskRunnerFactory property.
 void setUsageManager(String value)
          Sets the value of the usageManager property.
 void setUseExternalMessageReferences(Boolean value)
          Sets the value of the useExternalMessageReferences property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

brokerServiceOrJournalOrLongTermPersistence

protected List<Object> brokerServiceOrJournalOrLongTermPersistence

brokerName

protected String brokerName

brokerService

protected String brokerService

directory

protected String directory

journal

protected String journal

longTermPersistence

protected String longTermPersistence

maxCheckpointMessageAddSize

protected BigInteger maxCheckpointMessageAddSize

maxCheckpointWorkers

protected BigInteger maxCheckpointWorkers

persistenceAdapter

protected String persistenceAdapter

taskRunnerFactory

protected String taskRunnerFactory

usageManager

protected String usageManager

useExternalMessageReferences

protected Boolean useExternalMessageReferences

id

protected String id
Constructor Detail

DtoJournalPersistenceAdapter

public DtoJournalPersistenceAdapter()
Method Detail

getBrokerServiceOrJournalOrLongTermPersistence

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

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

    getBrokerServiceOrJournalOrLongTermPersistence().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<DtoJournalPersistenceAdapter.LongTermPersistence> JAXBElement<DtoJournalPersistenceAdapter.BrokerService> JAXBElement<DtoJournalPersistenceAdapter.Journal> JAXBElement<DtoJournalPersistenceAdapter.UsageManager> JAXBElement<DtoJournalPersistenceAdapter.TaskRunnerFactory> JAXBElement<DtoJournalPersistenceAdapter.PersistenceAdapter> Object


getBrokerName

public String getBrokerName()
Gets the value of the brokerName property.

Returns:
possible object is String

setBrokerName

public void setBrokerName(String value)
Sets the value of the brokerName property.

Parameters:
value - allowed object is String

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

getDirectory

public String getDirectory()
Gets the value of the directory property.

Returns:
possible object is String

setDirectory

public void setDirectory(String value)
Sets the value of the directory property.

Parameters:
value - allowed object is String

getJournal

public String getJournal()
Gets the value of the journal property.

Returns:
possible object is String

setJournal

public void setJournal(String value)
Sets the value of the journal property.

Parameters:
value - allowed object is String

getLongTermPersistence

public String getLongTermPersistence()
Gets the value of the longTermPersistence property.

Returns:
possible object is String

setLongTermPersistence

public void setLongTermPersistence(String value)
Sets the value of the longTermPersistence property.

Parameters:
value - allowed object is String

getMaxCheckpointMessageAddSize

public BigInteger getMaxCheckpointMessageAddSize()
Gets the value of the maxCheckpointMessageAddSize property.

Returns:
possible object is BigInteger

setMaxCheckpointMessageAddSize

public void setMaxCheckpointMessageAddSize(BigInteger value)
Sets the value of the maxCheckpointMessageAddSize property.

Parameters:
value - allowed object is BigInteger

getMaxCheckpointWorkers

public BigInteger getMaxCheckpointWorkers()
Gets the value of the maxCheckpointWorkers property.

Returns:
possible object is BigInteger

setMaxCheckpointWorkers

public void setMaxCheckpointWorkers(BigInteger value)
Sets the value of the maxCheckpointWorkers property.

Parameters:
value - allowed object is BigInteger

getPersistenceAdapter

public String getPersistenceAdapter()
Gets the value of the persistenceAdapter property.

Returns:
possible object is String

setPersistenceAdapter

public void setPersistenceAdapter(String value)
Sets the value of the persistenceAdapter property.

Parameters:
value - allowed object is String

getTaskRunnerFactory

public String getTaskRunnerFactory()
Gets the value of the taskRunnerFactory property.

Returns:
possible object is String

setTaskRunnerFactory

public void setTaskRunnerFactory(String value)
Sets the value of the taskRunnerFactory property.

Parameters:
value - allowed object is String

getUsageManager

public String getUsageManager()
Gets the value of the usageManager property.

Returns:
possible object is String

setUsageManager

public void setUsageManager(String value)
Sets the value of the usageManager property.

Parameters:
value - allowed object is String

isUseExternalMessageReferences

public Boolean isUseExternalMessageReferences()
Gets the value of the useExternalMessageReferences property.

Returns:
possible object is Boolean

setUseExternalMessageReferences

public void setUseExternalMessageReferences(Boolean value)
Sets the value of the useExternalMessageReferences 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.