public class DtoLeaseDatabaseLocker extends 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="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}levelDB"/> <element ref="{http://activemq.apache.org/schema/core}mKahaDB"/> <element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/> <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>
Modifier and Type | Class and Description |
---|---|
static class |
DtoLeaseDatabaseLocker.DataSource
Java class for anonymous complex type.
|
static class |
DtoLeaseDatabaseLocker.Lockable
Java class for anonymous complex type.
|
static class |
DtoLeaseDatabaseLocker.Statements
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected Boolean |
createTablesOnStartup |
protected String |
dataSource |
protected List<Object> |
dataSourceOrLockableOrStatements |
protected Boolean |
failIfLocked |
protected Boolean |
handleStartException |
protected String |
id |
protected String |
leaseHolderId |
protected String |
lockable |
protected Long |
lockAcquireSleepInterval |
protected BigInteger |
maxAllowableDiffFromDBTime |
protected String |
name |
protected BigInteger |
queryTimeout |
protected String |
statements |
Constructor and Description |
---|
DtoLeaseDatabaseLocker() |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy 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.EqualsStrategy strategy) |
String |
getDataSource()
Gets the value of the dataSource property.
|
List<Object> |
getDataSourceOrLockableOrStatements()
Gets the value of the dataSourceOrLockableOrStatements property.
|
String |
getId()
Gets the value of the id property.
|
String |
getLeaseHolderId()
Gets the value of the leaseHolderId property.
|
String |
getLockable()
Gets the value of the lockable property.
|
Long |
getLockAcquireSleepInterval()
Gets the value of the lockAcquireSleepInterval property.
|
BigInteger |
getMaxAllowableDiffFromDBTime()
Gets the value of the maxAllowableDiffFromDBTime property.
|
String |
getName()
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.
|
BigInteger |
getQueryTimeout()
Gets the value of the queryTimeout property.
|
String |
getStatements()
Gets the value of the statements property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
Boolean |
isCreateTablesOnStartup()
Gets the value of the createTablesOnStartup property.
|
Boolean |
isFailIfLocked()
Gets the value of the failIfLocked property.
|
Boolean |
isHandleStartException()
Gets the value of the handleStartException property.
|
void |
setCreateTablesOnStartup(Boolean value)
Sets the value of the createTablesOnStartup property.
|
void |
setDataSource(String value)
Sets the value of the dataSource property.
|
void |
setFailIfLocked(Boolean value)
Sets the value of the failIfLocked property.
|
void |
setHandleStartException(Boolean value)
Sets the value of the handleStartException property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLeaseHolderId(String value)
Sets the value of the leaseHolderId property.
|
void |
setLockable(String value)
Sets the value of the lockable property.
|
void |
setLockAcquireSleepInterval(Long value)
Sets the value of the lockAcquireSleepInterval property.
|
void |
setMaxAllowableDiffFromDBTime(BigInteger value)
Sets the value of the maxAllowableDiffFromDBTime property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setQueryTimeout(BigInteger value)
Sets the value of the queryTimeout property.
|
void |
setStatements(String value)
Sets the value of the statements property.
|
String |
toString() |
protected List<Object> dataSourceOrLockableOrStatements
protected Boolean createTablesOnStartup
protected String dataSource
protected Boolean failIfLocked
protected Boolean handleStartException
protected String leaseHolderId
protected Long lockAcquireSleepInterval
protected BigInteger maxAllowableDiffFromDBTime
protected BigInteger queryTimeout
protected String statements
public DtoLeaseDatabaseLocker()
public List<Object> getDataSourceOrLockableOrStatements()
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 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.Statements
>
JAXBElement
<
DtoLeaseDatabaseLocker.Lockable
>
JAXBElement
<
DtoLeaseDatabaseLocker.DataSource
>
Object
public Boolean isCreateTablesOnStartup()
Boolean
public void setCreateTablesOnStartup(Boolean value)
value
- allowed object is
Boolean
public String getDataSource()
String
public void setDataSource(String value)
value
- allowed object is
String
public Boolean isFailIfLocked()
Boolean
public void setFailIfLocked(Boolean value)
value
- allowed object is
Boolean
public Boolean isHandleStartException()
Boolean
public void setHandleStartException(Boolean value)
value
- allowed object is
Boolean
public String getLeaseHolderId()
String
public void setLeaseHolderId(String value)
value
- allowed object is
String
public Long getLockAcquireSleepInterval()
Long
public void setLockAcquireSleepInterval(Long value)
value
- allowed object is
Long
public String getLockable()
String
public void setLockable(String value)
value
- allowed object is
String
public BigInteger getMaxAllowableDiffFromDBTime()
BigInteger
public void setMaxAllowableDiffFromDBTime(BigInteger value)
value
- allowed object is
BigInteger
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public BigInteger getQueryTimeout()
BigInteger
public void setQueryTimeout(BigInteger value)
value
- allowed object is
BigInteger
public String getStatements()
String
public void setStatements(String value)
value
- allowed object is
String
public void setId(String value)
value
- allowed object is
String
public Map<QName,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 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append
in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields
in interface org.jvnet.jaxb2_commons.lang.ToString
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.