public class Credential extends Object
Java class for Credential complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Credential"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element ref="{http://ns.taverna.org.uk/2010/xml/server/}keypair"/> <element ref="{http://ns.taverna.org.uk/2010/xml/server/}userpass"/> </choice> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected KeyPairCredential |
keypair |
protected PasswordCredential |
userpass |
Constructor and Description |
---|
Credential() |
Modifier and Type | Method and Description |
---|---|
KeyPairCredential |
getKeypair()
Gets the value of the keypair property.
|
PasswordCredential |
getUserpass()
Gets the value of the userpass property.
|
void |
setKeypair(KeyPairCredential value)
Sets the value of the keypair property.
|
void |
setUserpass(PasswordCredential value)
Sets the value of the userpass property.
|
protected KeyPairCredential keypair
protected PasswordCredential userpass
public KeyPairCredential getKeypair()
KeyPairCredential
public void setKeypair(KeyPairCredential value)
value
- allowed object is
KeyPairCredential
public PasswordCredential getUserpass()
PasswordCredential
public void setUserpass(PasswordCredential value)
value
- allowed object is
PasswordCredential
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.