Class DtoTransactDatabaseLocker
- java.lang.Object
-
- org.apache.activemq.schema.core.DtoTransactDatabaseLocker
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class DtoTransactDatabaseLocker extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
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="dataSource" 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> <element name="exceptionHandler" 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> <element name="lockable" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice minOccurs="0"> <element ref="{http://activemq.apache.org/schema/core}jdbcPersistenceAdapter"/> <element ref="{http://activemq.apache.org/schema/core}journalPersistenceAdapterFactory"/> <element ref="{http://activemq.apache.org/schema/core}journaledJDBC"/> <element ref="{http://activemq.apache.org/schema/core}kahaDB"/> <element ref="{http://activemq.apache.org/schema/core}mKahaDB"/> <any namespace='##other'/> </choice> </restriction> </complexContent> </complexType> </element> <element name="statements" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice minOccurs="0"> <element ref="{http://activemq.apache.org/schema/core}statements"/> <any namespace='##other'/> </choice> </restriction> </complexContent> </complexType> </element> <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </choice> </choice> <attribute name="createTablesOnStartup" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="dataSource" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="exceptionHandler" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="failIfLocked" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="lockAcquireSleepInterval" type="{http://www.w3.org/2001/XMLSchema}long" /> <attribute name="lockable" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="queryTimeout" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="statements" 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 classDtoTransactDatabaseLocker.DataSourceClasse Java pour anonymous complex type.static classDtoTransactDatabaseLocker.ExceptionHandlerClasse Java pour anonymous complex type.static classDtoTransactDatabaseLocker.LockableClasse Java pour anonymous complex type.static classDtoTransactDatabaseLocker.StatementsClasse Java pour anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected BooleancreateTablesOnStartupprotected StringdataSourceprotected List<Object>dataSourceOrExceptionHandlerOrLockableprotected StringexceptionHandlerprotected BooleanfailIfLockedprotected Stringidprotected Stringlockableprotected LonglockAcquireSleepIntervalprotected Stringnameprotected BigIntegerqueryTimeoutprotected Stringstatements
-
Constructor Summary
Constructors Constructor Description DtoTransactDatabaseLocker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)StringgetDataSource()Obtient la valeur de la propriété dataSource.List<Object>getDataSourceOrExceptionHandlerOrLockable()Gets the value of the dataSourceOrExceptionHandlerOrLockable property.StringgetExceptionHandler()Obtient la valeur de la propriété exceptionHandler.StringgetId()Obtient la valeur de la propriété id.StringgetLockable()Obtient la valeur de la propriété lockable.LonggetLockAcquireSleepInterval()Obtient la valeur de la propriété lockAcquireSleepInterval.StringgetName()Obtient la valeur de la propriété name.Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.BigIntegergetQueryTimeout()Obtient la valeur de la propriété queryTimeout.StringgetStatements()Obtient la valeur de la propriété statements.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)BooleanisCreateTablesOnStartup()Obtient la valeur de la propriété createTablesOnStartup.BooleanisFailIfLocked()Obtient la valeur de la propriété failIfLocked.voidsetCreateTablesOnStartup(Boolean value)Définit la valeur de la propriété createTablesOnStartup.voidsetDataSource(String value)Définit la valeur de la propriété dataSource.voidsetExceptionHandler(String value)Définit la valeur de la propriété exceptionHandler.voidsetFailIfLocked(Boolean value)Définit la valeur de la propriété failIfLocked.voidsetId(String value)Définit la valeur de la propriété id.voidsetLockable(String value)Définit la valeur de la propriété lockable.voidsetLockAcquireSleepInterval(Long value)Définit la valeur de la propriété lockAcquireSleepInterval.voidsetName(String value)Définit la valeur de la propriété name.voidsetQueryTimeout(BigInteger value)Définit la valeur de la propriété queryTimeout.voidsetStatements(String value)Définit la valeur de la propriété statements.StringtoString()
-
-
-
Field Detail
-
dataSourceOrExceptionHandlerOrLockable
protected List<Object> dataSourceOrExceptionHandlerOrLockable
-
createTablesOnStartup
protected Boolean createTablesOnStartup
-
dataSource
protected String dataSource
-
exceptionHandler
protected String exceptionHandler
-
failIfLocked
protected Boolean failIfLocked
-
lockAcquireSleepInterval
protected Long lockAcquireSleepInterval
-
lockable
protected String lockable
-
name
protected String name
-
queryTimeout
protected BigInteger queryTimeout
-
statements
protected String statements
-
id
protected String id
-
-
Method Detail
-
getDataSourceOrExceptionHandlerOrLockable
public List<Object> getDataSourceOrExceptionHandlerOrLockable()
Gets the value of the dataSourceOrExceptionHandlerOrLockable 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
setmethod for the dataSourceOrExceptionHandlerOrLockable property.For example, to add a new item, do as follows:
getDataSourceOrExceptionHandlerOrLockable().add(newItem);Objects of the following type(s) are allowed in the list
ObjectJAXBElement<DtoTransactDatabaseLocker.DataSource>JAXBElement<DtoTransactDatabaseLocker.ExceptionHandler>JAXBElement<DtoTransactDatabaseLocker.Lockable>JAXBElement<DtoTransactDatabaseLocker.Statements>
-
isCreateTablesOnStartup
public Boolean isCreateTablesOnStartup()
Obtient la valeur de la propriété createTablesOnStartup.- Returns:
- possible object is
Boolean
-
setCreateTablesOnStartup
public void setCreateTablesOnStartup(Boolean value)
Définit la valeur de la propriété createTablesOnStartup.- Parameters:
value- allowed object isBoolean
-
getDataSource
public String getDataSource()
Obtient la valeur de la propriété dataSource.- Returns:
- possible object is
String
-
setDataSource
public void setDataSource(String value)
Définit la valeur de la propriété dataSource.- Parameters:
value- allowed object isString
-
getExceptionHandler
public String getExceptionHandler()
Obtient la valeur de la propriété exceptionHandler.- Returns:
- possible object is
String
-
setExceptionHandler
public void setExceptionHandler(String value)
Définit la valeur de la propriété exceptionHandler.- Parameters:
value- allowed object isString
-
isFailIfLocked
public Boolean isFailIfLocked()
Obtient la valeur de la propriété failIfLocked.- Returns:
- possible object is
Boolean
-
setFailIfLocked
public void setFailIfLocked(Boolean value)
Définit la valeur de la propriété failIfLocked.- Parameters:
value- allowed object isBoolean
-
getLockAcquireSleepInterval
public Long getLockAcquireSleepInterval()
Obtient la valeur de la propriété lockAcquireSleepInterval.- Returns:
- possible object is
Long
-
setLockAcquireSleepInterval
public void setLockAcquireSleepInterval(Long value)
Définit la valeur de la propriété lockAcquireSleepInterval.- Parameters:
value- allowed object isLong
-
getLockable
public String getLockable()
Obtient la valeur de la propriété lockable.- Returns:
- possible object is
String
-
setLockable
public void setLockable(String value)
Définit la valeur de la propriété lockable.- Parameters:
value- allowed object isString
-
getName
public String getName()
Obtient la valeur de la propriété name.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Définit la valeur de la propriété name.- Parameters:
value- allowed object isString
-
getQueryTimeout
public BigInteger getQueryTimeout()
Obtient la valeur de la propriété queryTimeout.- Returns:
- possible object is
BigInteger
-
setQueryTimeout
public void setQueryTimeout(BigInteger value)
Définit la valeur de la propriété queryTimeout.- Parameters:
value- allowed object isBigInteger
-
getStatements
public String getStatements()
Obtient la valeur de la propriété statements.- Returns:
- possible object is
String
-
setStatements
public void setStatements(String value)
Définit la valeur de la propriété statements.- Parameters:
value- allowed object isString
-
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 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:
appendin 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:
appendFieldsin 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:
hashCodein 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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
-