public static class AddHeaders.Headers
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
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 ref="{exa:com.exalead.mercury.mami.fetch.v20}Header" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Header> |
header |
Constructor and Description |
---|
Headers()
Creates a new
Headers instance. |
Headers(AddHeaders.Headers o)
Creates a new
Headers instance by deeply copying a given Headers instance. |
Modifier and Type | Method and Description |
---|---|
AddHeaders.Headers |
clone()
Creates and returns a deep copy of this object.
|
java.util.List<Header> |
getHeader()
Gets the value of the header property.
|
AddHeaders.Headers |
withHeader(java.util.Collection<Header> values) |
AddHeaders.Headers |
withHeader(Header... values) |
protected java.util.List<Header> header
public Headers()
Headers
instance.public Headers(AddHeaders.Headers o)
Headers
instance by deeply copying a given Headers
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public java.util.List<Header> getHeader()
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 header property.
For example, to add a new item, do as follows:
getHeader().add(newItem);
Objects of the following type(s) are allowed in the list
Header
public AddHeaders.Headers withHeader(Header... values)
public AddHeaders.Headers withHeader(java.util.Collection<Header> values)
public AddHeaders.Headers clone()
clone
in class java.lang.Object
Copyright © 2021 Dassault Systèmes, All Rights Reserved.