public class XSessionType extends Object implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for x_session_type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="x_session_type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="db" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="conf" type="{uri:lens:job:0.1}map_type" maxOccurs="unbounded" minOccurs="0"/>
<element name="resource_path" type="{uri:lens:job:0.1}resource_path" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
XSessionType() |
| 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) |
List<MapType> |
getConf()
Gets the value of the conf property.
|
String |
getDb()
Gets the value of the db property.
|
List<ResourcePath> |
getResourcePath()
Gets the value of the resourcePath property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDb(String value)
Sets the value of the db property.
|
String |
toString() |
XSessionType |
withConf(Collection<MapType> values) |
XSessionType |
withConf(MapType... values) |
XSessionType |
withDb(String value) |
XSessionType |
withResourcePath(Collection<ResourcePath> values) |
XSessionType |
withResourcePath(ResourcePath... values) |
public void setDb(String value)
value - allowed object is
Stringpublic List<MapType> getConf()
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 conf property.
For example, to add a new item, do as follows:
getConf().add(newItem);
Objects of the following type(s) are allowed in the list
MapType
public List<ResourcePath> getResourcePath()
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 resourcePath property.
For example, to add a new item, do as follows:
getResourcePath().add(newItem);
Objects of the following type(s) are allowed in the list
ResourcePath
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 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.Equalspublic 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 XSessionType withDb(String value)
public XSessionType withConf(MapType... values)
public XSessionType withConf(Collection<MapType> values)
public XSessionType withResourcePath(ResourcePath... values)
public XSessionType withResourcePath(Collection<ResourcePath> values)
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.