public class DtoSharedFileLocker 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="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>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</choice>
</choice>
<attribute name="directory" 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="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 |
DtoSharedFileLocker.Lockable
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
directory |
protected Boolean |
failIfLocked |
protected String |
id |
protected String |
lockable |
protected List<Object> |
lockableOrAny |
protected Long |
lockAcquireSleepInterval |
protected String |
name |
| Constructor and Description |
|---|
DtoSharedFileLocker() |
| 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 |
getDirectory()
Gets the value of the directory property.
|
String |
getId()
Gets the value of the id property.
|
String |
getLockable()
Gets the value of the lockable property.
|
List<Object> |
getLockableOrAny()
Gets the value of the lockableOrAny property.
|
Long |
getLockAcquireSleepInterval()
Gets the value of the lockAcquireSleepInterval 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.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
Boolean |
isFailIfLocked()
Gets the value of the failIfLocked property.
|
void |
setDirectory(String value)
Sets the value of the directory property.
|
void |
setFailIfLocked(Boolean value)
Sets the value of the failIfLocked property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLockable(String value)
Sets the value of the lockable property.
|
void |
setLockAcquireSleepInterval(Long value)
Sets the value of the lockAcquireSleepInterval property.
|
void |
setName(String value)
Sets the value of the name property.
|
String |
toString() |
protected List<Object> lockableOrAny
protected Boolean failIfLocked
protected Long lockAcquireSleepInterval
public DtoSharedFileLocker()
public List<Object> getLockableOrAny()
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 lockableOrAny property.
For example, to add a new item, do as follows:
getLockableOrAny().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<DtoSharedFileLocker.Lockable>
Object
public String getDirectory()
Stringpublic void setDirectory(String value)
value - allowed object is
Stringpublic Boolean isFailIfLocked()
Booleanpublic void setFailIfLocked(Boolean value)
value - allowed object is
Booleanpublic Long getLockAcquireSleepInterval()
Longpublic void setLockAcquireSleepInterval(Long value)
value - allowed object is
Longpublic String getLockable()
Stringpublic void setLockable(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic void setId(String value)
value - allowed object is
Stringpublic 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.ToStringpublic 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.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 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.EqualsCopyright © 2005–2016 The Apache Software Foundation. All rights reserved.