Class DtoPooledConnectionFactory
- java.lang.Object
-
- org.apache.activemq.schema.core.DtoPooledConnectionFactory
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2
,org.jvnet.jaxb2_commons.lang.HashCode2
,org.jvnet.jaxb2_commons.lang.ToString2
public class DtoPooledConnectionFactory extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
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="connectionFactory" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice minOccurs="0"> <element ref="{http://activemq.apache.org/schema/core}connectionFactory"/> <element ref="{http://activemq.apache.org/schema/core}xaConnectionFactory"/> <any namespace='##other'/> </choice> </restriction> </complexContent> </complexType> </element> <element name="transactionManager" 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="connectionFactory" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="maxConnections" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="maximumActive" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="resourceName" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="transactionManager" 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
Nested Classes Modifier and Type Class Description static class
DtoPooledConnectionFactory.ConnectionFactory
Java class for anonymous complex type.static class
DtoPooledConnectionFactory.TransactionManager
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected String
connectionFactory
protected List<Object>
connectionFactoryOrTransactionManagerOrAny
protected String
id
protected BigInteger
maxConnections
protected BigInteger
maximumActive
protected String
resourceName
protected String
transactionManager
-
Constructor Summary
Constructors Constructor Description DtoPooledConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilder
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
StringBuilder
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 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.EqualsStrategy2 strategy)
String
getConnectionFactory()
Gets the value of the connectionFactory property.List<Object>
getConnectionFactoryOrTransactionManagerOrAny()
Gets the value of the connectionFactoryOrTransactionManagerOrAny property.String
getId()
Gets the value of the id property.BigInteger
getMaxConnections()
Gets the value of the maxConnections property.BigInteger
getMaximumActive()
Gets the value of the maximumActive property.Map<QName,String>
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.String
getResourceName()
Gets the value of the resourceName property.String
getTransactionManager()
Gets the value of the transactionManager property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
void
setConnectionFactory(String value)
Sets the value of the connectionFactory property.void
setId(String value)
Sets the value of the id property.void
setMaxConnections(BigInteger value)
Sets the value of the maxConnections property.void
setMaximumActive(BigInteger value)
Sets the value of the maximumActive property.void
setResourceName(String value)
Sets the value of the resourceName property.void
setTransactionManager(String value)
Sets the value of the transactionManager property.String
toString()
-
-
-
Field Detail
-
connectionFactoryOrTransactionManagerOrAny
protected List<Object> connectionFactoryOrTransactionManagerOrAny
-
connectionFactory
protected String connectionFactory
-
maxConnections
protected BigInteger maxConnections
-
maximumActive
protected BigInteger maximumActive
-
resourceName
protected String resourceName
-
transactionManager
protected String transactionManager
-
id
protected String id
-
-
Method Detail
-
getConnectionFactoryOrTransactionManagerOrAny
public List<Object> getConnectionFactoryOrTransactionManagerOrAny()
Gets the value of the connectionFactoryOrTransactionManagerOrAny 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 connectionFactoryOrTransactionManagerOrAny property.For example, to add a new item, do as follows:
getConnectionFactoryOrTransactionManagerOrAny().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
DtoPooledConnectionFactory.ConnectionFactory
>
JAXBElement
<
DtoPooledConnectionFactory.TransactionManager
>
Object
-
getConnectionFactory
public String getConnectionFactory()
Gets the value of the connectionFactory property.- Returns:
- possible object is
String
-
setConnectionFactory
public void setConnectionFactory(String value)
Sets the value of the connectionFactory property.- Parameters:
value
- allowed object isString
-
getMaxConnections
public BigInteger getMaxConnections()
Gets the value of the maxConnections property.- Returns:
- possible object is
BigInteger
-
setMaxConnections
public void setMaxConnections(BigInteger value)
Sets the value of the maxConnections property.- Parameters:
value
- allowed object isBigInteger
-
getMaximumActive
public BigInteger getMaximumActive()
Gets the value of the maximumActive property.- Returns:
- possible object is
BigInteger
-
setMaximumActive
public void setMaximumActive(BigInteger value)
Sets the value of the maximumActive property.- Parameters:
value
- allowed object isBigInteger
-
getResourceName
public String getResourceName()
Gets the value of the resourceName property.- Returns:
- possible object is
String
-
setResourceName
public void setResourceName(String value)
Sets the value of the resourceName property.- Parameters:
value
- allowed object isString
-
getTransactionManager
public String getTransactionManager()
Gets the value of the transactionManager property.- Returns:
- possible object is
String
-
setTransactionManager
public void setTransactionManager(String value)
Sets the value of the transactionManager property.- Parameters:
value
- allowed object isString
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
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
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
append
in interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendFields
in interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
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.EqualsStrategy2 strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
-