Class DtoLeaseDatabaseLocker
- java.lang.Object
-
- org.apache.activemq.schema.core.DtoLeaseDatabaseLocker
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class DtoLeaseDatabaseLocker 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="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="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="failIfLocked" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="handleStartException" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="leaseHolderId" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="lockAcquireSleepInterval" type="{http://www.w3.org/2001/XMLSchema}long" /> <attribute name="lockable" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="maxAllowableDiffFromDBTime" type="{http://www.w3.org/2001/XMLSchema}integer" /> <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 classDtoLeaseDatabaseLocker.DataSourceJava class for anonymous complex type.static classDtoLeaseDatabaseLocker.LockableJava class for anonymous complex type.static classDtoLeaseDatabaseLocker.StatementsJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected BooleancreateTablesOnStartupprotected StringdataSourceprotected List<Object>dataSourceOrLockableOrStatementsprotected BooleanfailIfLockedprotected BooleanhandleStartExceptionprotected Stringidprotected StringleaseHolderIdprotected Stringlockableprotected LonglockAcquireSleepIntervalprotected BigIntegermaxAllowableDiffFromDBTimeprotected Stringnameprotected BigIntegerqueryTimeoutprotected Stringstatements
-
Constructor Summary
Constructors Constructor Description DtoLeaseDatabaseLocker()
-
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()Gets the value of the dataSource property.List<Object>getDataSourceOrLockableOrStatements()Gets the value of the dataSourceOrLockableOrStatements property.StringgetId()Gets the value of the id property.StringgetLeaseHolderId()Gets the value of the leaseHolderId property.StringgetLockable()Gets the value of the lockable property.LonggetLockAcquireSleepInterval()Gets the value of the lockAcquireSleepInterval property.BigIntegergetMaxAllowableDiffFromDBTime()Gets the value of the maxAllowableDiffFromDBTime property.StringgetName()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.BigIntegergetQueryTimeout()Gets the value of the queryTimeout property.StringgetStatements()Gets the value of the statements property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)BooleanisCreateTablesOnStartup()Gets the value of the createTablesOnStartup property.BooleanisFailIfLocked()Gets the value of the failIfLocked property.BooleanisHandleStartException()Gets the value of the handleStartException property.voidsetCreateTablesOnStartup(Boolean value)Sets the value of the createTablesOnStartup property.voidsetDataSource(String value)Sets the value of the dataSource property.voidsetFailIfLocked(Boolean value)Sets the value of the failIfLocked property.voidsetHandleStartException(Boolean value)Sets the value of the handleStartException property.voidsetId(String value)Sets the value of the id property.voidsetLeaseHolderId(String value)Sets the value of the leaseHolderId property.voidsetLockable(String value)Sets the value of the lockable property.voidsetLockAcquireSleepInterval(Long value)Sets the value of the lockAcquireSleepInterval property.voidsetMaxAllowableDiffFromDBTime(BigInteger value)Sets the value of the maxAllowableDiffFromDBTime property.voidsetName(String value)Sets the value of the name property.voidsetQueryTimeout(BigInteger value)Sets the value of the queryTimeout property.voidsetStatements(String value)Sets the value of the statements property.StringtoString()
-
-
-
Field Detail
-
createTablesOnStartup
protected Boolean createTablesOnStartup
-
dataSource
protected String dataSource
-
failIfLocked
protected Boolean failIfLocked
-
handleStartException
protected Boolean handleStartException
-
leaseHolderId
protected String leaseHolderId
-
lockAcquireSleepInterval
protected Long lockAcquireSleepInterval
-
lockable
protected String lockable
-
maxAllowableDiffFromDBTime
protected BigInteger maxAllowableDiffFromDBTime
-
name
protected String name
-
queryTimeout
protected BigInteger queryTimeout
-
statements
protected String statements
-
id
protected String id
-
-
Method Detail
-
getDataSourceOrLockableOrStatements
public List<Object> getDataSourceOrLockableOrStatements()
Gets the value of the dataSourceOrLockableOrStatements 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 dataSourceOrLockableOrStatements property.For example, to add a new item, do as follows:
getDataSourceOrLockableOrStatements().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<DtoLeaseDatabaseLocker.DataSource>JAXBElement<DtoLeaseDatabaseLocker.Lockable>JAXBElement<DtoLeaseDatabaseLocker.Statements>Object
-
isCreateTablesOnStartup
public Boolean isCreateTablesOnStartup()
Gets the value of the createTablesOnStartup property.- Returns:
- possible object is
Boolean
-
setCreateTablesOnStartup
public void setCreateTablesOnStartup(Boolean value)
Sets the value of the createTablesOnStartup property.- Parameters:
value- allowed object isBoolean
-
getDataSource
public String getDataSource()
Gets the value of the dataSource property.- Returns:
- possible object is
String
-
setDataSource
public void setDataSource(String value)
Sets the value of the dataSource property.- Parameters:
value- allowed object isString
-
isFailIfLocked
public Boolean isFailIfLocked()
Gets the value of the failIfLocked property.- Returns:
- possible object is
Boolean
-
setFailIfLocked
public void setFailIfLocked(Boolean value)
Sets the value of the failIfLocked property.- Parameters:
value- allowed object isBoolean
-
isHandleStartException
public Boolean isHandleStartException()
Gets the value of the handleStartException property.- Returns:
- possible object is
Boolean
-
setHandleStartException
public void setHandleStartException(Boolean value)
Sets the value of the handleStartException property.- Parameters:
value- allowed object isBoolean
-
getLeaseHolderId
public String getLeaseHolderId()
Gets the value of the leaseHolderId property.- Returns:
- possible object is
String
-
setLeaseHolderId
public void setLeaseHolderId(String value)
Sets the value of the leaseHolderId property.- Parameters:
value- allowed object isString
-
getLockAcquireSleepInterval
public Long getLockAcquireSleepInterval()
Gets the value of the lockAcquireSleepInterval property.- Returns:
- possible object is
Long
-
setLockAcquireSleepInterval
public void setLockAcquireSleepInterval(Long value)
Sets the value of the lockAcquireSleepInterval property.- Parameters:
value- allowed object isLong
-
getLockable
public String getLockable()
Gets the value of the lockable property.- Returns:
- possible object is
String
-
setLockable
public void setLockable(String value)
Sets the value of the lockable property.- Parameters:
value- allowed object isString
-
getMaxAllowableDiffFromDBTime
public BigInteger getMaxAllowableDiffFromDBTime()
Gets the value of the maxAllowableDiffFromDBTime property.- Returns:
- possible object is
BigInteger
-
setMaxAllowableDiffFromDBTime
public void setMaxAllowableDiffFromDBTime(BigInteger value)
Sets the value of the maxAllowableDiffFromDBTime property.- Parameters:
value- allowed object isBigInteger
-
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 isString
-
getQueryTimeout
public BigInteger getQueryTimeout()
Gets the value of the queryTimeout property.- Returns:
- possible object is
BigInteger
-
setQueryTimeout
public void setQueryTimeout(BigInteger value)
Sets the value of the queryTimeout property.- Parameters:
value- allowed object isBigInteger
-
getStatements
public String getStatements()
Gets the value of the statements property.- Returns:
- possible object is
String
-
setStatements
public void setStatements(String value)
Sets the value of the statements 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:
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
-
-