public class DtoPolicyMap
extends java.lang.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="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>
| Modifier and Type | Class and Description |
|---|---|
static class |
DtoPolicyMap.DefaultEntry
Java class for anonymous complex type.
|
static class |
DtoPolicyMap.Entries
Java class for anonymous complex type.
|
static class |
DtoPolicyMap.PolicyEntries
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Object> |
contents |
protected java.lang.String |
defaultEntry |
protected java.lang.String |
id |
| Constructor and Description |
|---|
DtoPolicyMap() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
java.util.List<java.lang.Object> |
getContents()
Gets the value of the contents property.
|
java.lang.String |
getDefaultEntry()
Gets the value of the defaultEntry property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.util.Map<javax.xml.namespace.QName,java.lang.String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDefaultEntry(java.lang.String value)
Sets the value of the defaultEntry property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
java.lang.String |
toString() |
protected java.util.List<java.lang.Object> contents
protected java.lang.String defaultEntry
protected java.lang.String id
public java.util.List<java.lang.Object> getContents()
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<DtoPolicyMap.PolicyEntries>
JAXBElement<DtoPolicyMap.DefaultEntry>
Object
JAXBElement<DtoPolicyMap.Entries>
public java.lang.String getDefaultEntry()
Stringpublic void setDefaultEntry(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
Stringpublic java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
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.
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.ObjectCopyright © 2005-2016 Red Hat, Inc.. All Rights Reserved.