public class Obligation extends Object
Java class for obligation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="obligation">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="obligation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="resource" 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 |
obligation |
protected String |
resource |
| Constructor and Description |
|---|
Obligation() |
| Modifier and Type | Method and Description |
|---|---|
List<Attribute> |
getAttributes()
Gets the value of the attributes property.
|
String |
getObligation()
Gets the value of the obligation property.
|
String |
getResource()
Gets the value of the resource property.
|
void |
setObligation(String value)
Sets the value of the obligation property.
|
void |
setResource(String value)
Sets the value of the resource property.
|
public String getObligation()
Stringpublic void setObligation(String value)
value - allowed object is
Stringpublic String getResource()
Stringpublic void setResource(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 © 2019. All rights reserved.