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