public class TrustCollection extends Object
Java class for TrustCollection complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TrustCollection"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="trust" type="{http://ns.taverna.org.uk/2010/xml/server/}TrustDescriptor" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute ref="{http://www.w3.org/1999/xlink}href"/> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
href |
protected List<TrustDescriptor> |
trust |
Constructor and Description |
---|
TrustCollection() |
Modifier and Type | Method and Description |
---|---|
String |
getHref()
Gets the value of the href property.
|
List<TrustDescriptor> |
getTrust()
Gets the value of the trust property.
|
void |
setHref(String value)
Sets the value of the href property.
|
protected List<TrustDescriptor> trust
protected String href
public List<TrustDescriptor> getTrust()
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 trust property.
For example, to add a new item, do as follows:
getTrust().add(newItem);
Objects of the following type(s) are allowed in the list
TrustDescriptor
public String getHref()
String
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.