org.apache.activemq.schema.core
Class DtoMemoryPersistenceAdapter

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

public class DtoMemoryPersistenceAdapter
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="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="createTransactionStore" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="directory" 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 DtoMemoryPersistenceAdapter.UsageManager
          Java class for anonymous complex type.
 
Field Summary
protected  String brokerName
           
protected  Boolean createTransactionStore
           
protected  String directory
           
protected  String id
           
protected  String usageManager
           
protected  List<Object> usageManagerOrAny
           
protected  Boolean useExternalMessageReferences
           
 
Constructor Summary
DtoMemoryPersistenceAdapter()
           
 
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 getDirectory()
          Gets the value of the directory property.
 String getId()
          Gets the value of the id property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 String getUsageManager()
          Gets the value of the usageManager property.
 List<Object> getUsageManagerOrAny()
          Gets the value of the usageManagerOrAny property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 Boolean isCreateTransactionStore()
          Gets the value of the createTransactionStore property.
 Boolean isUseExternalMessageReferences()
          Gets the value of the useExternalMessageReferences property.
 void setBrokerName(String value)
          Sets the value of the brokerName property.
 void setCreateTransactionStore(Boolean value)
          Sets the value of the createTransactionStore property.
 void setDirectory(String value)
          Sets the value of the directory property.
 void setId(String value)
          Sets the value of the id 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

usageManagerOrAny

protected List<Object> usageManagerOrAny

brokerName

protected String brokerName

createTransactionStore

protected Boolean createTransactionStore

directory

protected String directory

usageManager

protected String usageManager

useExternalMessageReferences

protected Boolean useExternalMessageReferences

id

protected String id
Constructor Detail

DtoMemoryPersistenceAdapter

public DtoMemoryPersistenceAdapter()
Method Detail

getUsageManagerOrAny

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

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

    getUsageManagerOrAny().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<DtoMemoryPersistenceAdapter.UsageManager> 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

isCreateTransactionStore

public Boolean isCreateTransactionStore()
Gets the value of the createTransactionStore property.

Returns:
possible object is Boolean

setCreateTransactionStore

public void setCreateTransactionStore(Boolean value)
Sets the value of the createTransactionStore property.

Parameters:
value - allowed object is Boolean

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

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.