Package org.gedcomx.agent
Class OnlineAccount
java.lang.Object
org.gedcomx.common.ExtensibleData
org.gedcomx.agent.OnlineAccount
- All Implemented Interfaces:
HasTransientProperties,SupportsExtensionElements
An online account for a web application.
- Author:
- Ryan Heaton
-
Field Summary
Fields inherited from class org.gedcomx.common.ExtensibleData
extensionElements, transientProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountName(String accountName) Build up this online account with an account name.extensionElement(Object element) The name associated the holder of this account with the account.The homepage of the service that provides this account.Build up this object with an id.serviceHomepage(ResourceReference serviceHomepage) Build up this online account with a service homepage.voidsetAccountName(String accountName) The name associated the holder of this account with the account.voidsetServiceHomepage(ResourceReference serviceHomepage) The homepage of the service that provides this account.Methods inherited from class org.gedcomx.common.ExtensibleData
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty, toString
-
Constructor Details
-
OnlineAccount
public OnlineAccount() -
OnlineAccount
-
-
Method Details
-
id
Description copied from class:ExtensibleDataBuild up this object with an id.- Overrides:
idin classExtensibleData- Parameters:
id- The id.- Returns:
- this.
-
extensionElement
- Overrides:
extensionElementin classExtensibleData
-
getServiceHomepage
The homepage of the service that provides this account.- Returns:
- The homepage of the service that provides this account.
-
setServiceHomepage
The homepage of the service that provides this account.- Parameters:
serviceHomepage- The homepage of the service that provides this account.
-
serviceHomepage
Build up this online account with a service homepage.- Parameters:
serviceHomepage- The service homepage.- Returns:
- this.
-
getAccountName
The name associated the holder of this account with the account.- Returns:
- The name associated the holder of this account with the account.
-
setAccountName
The name associated the holder of this account with the account.- Parameters:
accountName- The name associated the holder of this account with the account.
-
accountName
Build up this online account with an account name.- Parameters:
accountName- The account name.- Returns:
- this.
-