public class ObjectNamesType extends Object
Java class for objectNamesType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="objectNamesType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="objectName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<String> |
objectName |
Constructor and Description |
---|
ObjectNamesType() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getObjectName()
Gets the value of the objectName property.
|
ObjectNamesType |
withObjectName(Collection<String> values) |
ObjectNamesType |
withObjectName(String... values) |
public List<String> getObjectName()
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 objectName property.
For example, to add a new item, do as follows:
getObjectName().add(newItem);
Objects of the following type(s) are allowed in the list
String
public ObjectNamesType withObjectName(String... values)
public ObjectNamesType withObjectName(Collection<String> values)
Apache Camel