public class Association extends Object
Java class for association complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="association"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="href" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="associatedAsset" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<String> |
associatedAssets |
protected String |
href |
protected String |
name |
Constructor and Description |
---|
Association() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAssociatedAssets()
Gets the value of the associatedAssets property.
|
String |
getHref()
Gets the value of the href property.
|
String |
getName()
Gets the value of the name property.
|
void |
setHref(String value)
Sets the value of the href property.
|
void |
setName(String value)
Sets the value of the name property.
|
public String getHref()
String
public void setHref(String value)
value
- allowed object is String
public String getName()
String
public void setName(String value)
value
- allowed object is String
public List<String> getAssociatedAssets()
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 associatedAssets property.
For example, to add a new item, do as follows:
getAssociatedAssets().add(newItem);
Objects of the following type(s) are allowed in the list String