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.v10}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.