org.apache.activemq.schema.core
Class DtoTopic

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

public class DtoTopic
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="compositeDestinations" maxOccurs="unbounded" minOccurs="0">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <choice maxOccurs="unbounded" 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>
           <element name="properties" 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="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="physicalName" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="properties" 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 DtoTopic.CompositeDestinations
          Java class for anonymous complex type.
static class DtoTopic.Properties
          Java class for anonymous complex type.
 
Field Summary
protected  List<Object> contents
           
protected  String id
           
protected  String name
           
protected  String physicalName
           
protected  String properties
           
 
Constructor Summary
DtoTopic()
           
 
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)
           
 List<Object> getContents()
          Gets the value of the contents property.
 String getId()
          Gets the value of the id 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.
 String getPhysicalName()
          Gets the value of the physicalName property.
 String getProperties()
          Gets the value of the properties property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setId(String value)
          Sets the value of the id property.
 void setName(String value)
          Sets the value of the name property.
 void setPhysicalName(String value)
          Sets the value of the physicalName property.
 void setProperties(String value)
          Sets the value of the properties property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

contents

protected List<Object> contents

name

protected String name

physicalName

protected String physicalName

properties

protected String properties

id

protected String id
Constructor Detail

DtoTopic

public DtoTopic()
Method Detail

getContents

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

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

    getContents().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<DtoTopic.Properties> JAXBElement<DtoTopic.CompositeDestinations> Object


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

getPhysicalName

public String getPhysicalName()
Gets the value of the physicalName property.

Returns:
possible object is String

setPhysicalName

public void setPhysicalName(String value)
Sets the value of the physicalName property.

Parameters:
value - allowed object is String

getProperties

public String getProperties()
Gets the value of the properties property.

Returns:
possible object is String

setProperties

public void setProperties(String value)
Sets the value of the properties 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.