public class SlaveAuthInfoType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for SlaveAuthInfoType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SlaveAuthInfoType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="masterHost" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
<element name="slaveId" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
masterHost |
protected String |
slaveId |
| Constructor and Description |
|---|
SlaveAuthInfoType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
List<String> |
getMasterHost()
Gets the value of the masterHost property.
|
String |
getSlaveId()
Gets the value of the slaveId property.
|
boolean |
isSetMasterHost() |
boolean |
isSetSlaveId() |
void |
setSlaveId(String value)
Sets the value of the slaveId property.
|
void |
unsetMasterHost() |
SlaveAuthInfoType |
withMasterHost(Collection<String> values) |
SlaveAuthInfoType |
withMasterHost(String... values) |
SlaveAuthInfoType |
withSlaveId(String value) |
public List<String> getMasterHost()
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 masterHost property.
For example, to add a new item, do as follows:
getMasterHost().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetMasterHost()
public void unsetMasterHost()
public String getSlaveId()
Stringpublic void setSlaveId(String value)
value - allowed object is
Stringpublic boolean isSetSlaveId()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic SlaveAuthInfoType withMasterHost(String... values)
public SlaveAuthInfoType withMasterHost(Collection<String> values)
public SlaveAuthInfoType withSlaveId(String value)
Copyright © 2015. All rights reserved.