public class ExternalAccountConnection extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ExternalAccountConnection.UserServiceType
Service types for external account connections.
|
Constructor and Description |
---|
ExternalAccountConnection() |
ExternalAccountConnection(java.lang.String externalId,
ExternalAccountConnection.UserServiceType serviceType) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExternalId() |
ExternalAccountConnection.UserServiceType |
getServiceType() |
static boolean |
isValid(ExternalAccountConnection connection) |
void |
setExternalId(java.lang.String externalId) |
void |
setServiceType(ExternalAccountConnection.UserServiceType serviceType) |
public ExternalAccountConnection()
public ExternalAccountConnection(java.lang.String externalId, ExternalAccountConnection.UserServiceType serviceType)
externalId
- serviceType
- public ExternalAccountConnection.UserServiceType getServiceType()
public void setServiceType(ExternalAccountConnection.UserServiceType serviceType)
serviceType
- the serviceType to setpublic java.lang.String getExternalId()
public void setExternalId(java.lang.String externalId)
externalId
- the externalId to setpublic static boolean isValid(ExternalAccountConnection connection)
connection
- Copyright © 2015 Tampere University of Technology, Pori Department.