Class OnlineAccount

java.lang.Object
org.gedcomx.common.ExtensibleData
org.gedcomx.agent.OnlineAccount
All Implemented Interfaces:
HasTransientProperties, SupportsExtensionElements

public class OnlineAccount extends ExtensibleData
An online account for a web application.
Author:
Ryan Heaton
  • Constructor Details

    • OnlineAccount

      public OnlineAccount()
    • OnlineAccount

      public OnlineAccount(OnlineAccount copy)
  • Method Details

    • id

      public OnlineAccount id(String id)
      Description copied from class: ExtensibleData
      Build up this object with an id.
      Overrides:
      id in class ExtensibleData
      Parameters:
      id - The id.
      Returns:
      this.
    • extensionElement

      public OnlineAccount extensionElement(Object element)
      Overrides:
      extensionElement in class ExtensibleData
    • getServiceHomepage

      public ResourceReference getServiceHomepage()
      The homepage of the service that provides this account.
      Returns:
      The homepage of the service that provides this account.
    • setServiceHomepage

      public void setServiceHomepage(ResourceReference serviceHomepage)
      The homepage of the service that provides this account.
      Parameters:
      serviceHomepage - The homepage of the service that provides this account.
    • serviceHomepage

      public OnlineAccount serviceHomepage(ResourceReference serviceHomepage)
      Build up this online account with a service homepage.
      Parameters:
      serviceHomepage - The service homepage.
      Returns:
      this.
    • getAccountName

      public String 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

      public void setAccountName(String accountName)
      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

      public OnlineAccount accountName(String accountName)
      Build up this online account with an account name.
      Parameters:
      accountName - The account name.
      Returns:
      this.