public class Attribute extends Object
Java class for attribute complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="attribute">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="attributes" type="{}attribute" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Attribute> |
attributes |
protected String |
key |
protected String |
type |
protected String |
value |
| Constructor and Description |
|---|
Attribute() |
| Modifier and Type | Method and Description |
|---|---|
List<Attribute> |
getAttributes()
Gets the value of the attributes property.
|
String |
getKey()
Gets the value of the key property.
|
String |
getType()
Gets the value of the type property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setValue(String value)
Sets the value of the value property.
|
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic List<Attribute> getAttributes()
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 attributes property.
For example, to add a new item, do as follows:
getAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
Attribute
Copyright © 2017. All rights reserved.