public static class SupportedProtocolsType.Source extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
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">
<sequence>
<element name="protocol" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
SupportedProtocolsType.Source() |
| 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> |
getProtocol()
Gets the value of the protocol property.
|
boolean |
isSetProtocol() |
void |
unsetProtocol() |
SupportedProtocolsType.Source |
withProtocol(Collection<String> values) |
SupportedProtocolsType.Source |
withProtocol(String... values) |
public List<String> getProtocol()
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 protocol property.
For example, to add a new item, do as follows:
getProtocol().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetProtocol()
public void unsetProtocol()
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 SupportedProtocolsType.Source withProtocol(String... values)
public SupportedProtocolsType.Source withProtocol(Collection<String> values)
Copyright © 2015. All rights reserved.