Class DtoPolicyMap

java.lang.Object
org.apache.activemq.schema.core.DtoPolicyMap
All Implemented Interfaces:
org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

public class DtoPolicyMap extends Object implements org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

Classe Java pour anonymous complex type.

Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <choice>
           <element name="defaultEntry" minOccurs="0">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <choice minOccurs="0">
                     <element ref="{http://activemq.apache.org/schema/core}policyEntry"/>
                     <any namespace='##other'/>
                   </choice>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="entries" maxOccurs="unbounded" minOccurs="0">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence maxOccurs="unbounded" minOccurs="0">
                     <any maxOccurs="unbounded" minOccurs="0"/>
                   </sequence>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="policyEntries" maxOccurs="unbounded" minOccurs="0">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence maxOccurs="unbounded" minOccurs="0">
                     <any maxOccurs="unbounded" minOccurs="0"/>
                   </sequence>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
         </choice>
       </choice>
       <attribute name="defaultEntry" 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>
 
  • Field Details

    • contents

      protected List<Object> contents
    • defaultEntry

      protected String defaultEntry
    • id

      protected String id
  • Constructor Details

    • DtoPolicyMap

      public DtoPolicyMap()
  • Method Details

    • 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 Jakarta XML Binding 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<DtoPolicyMap.DefaultEntry> JAXBElement<DtoPolicyMap.Entries> JAXBElement<DtoPolicyMap.PolicyEntries> Object

    • getDefaultEntry

      public String getDefaultEntry()
      Obtient la valeur de la propriété defaultEntry.
      Returns:
      possible object is String
    • setDefaultEntry

      public void setDefaultEntry(String value)
      Définit la valeur de la propriété defaultEntry.
      Parameters:
      value - allowed object is String
    • getId

      public String getId()
      Obtient la valeur de la propriété id.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Définit la valeur de la propriété id.
      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.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb.lang.ToString
    • hashCode

      public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb.lang.HashCode
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)
      Specified by:
      equals in interface org.jvnet.jaxb.lang.Equals
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object