Class AccountRef

    • Constructor Detail

      • AccountRef

        public AccountRef()
    • Method Detail

      • fromAccount

        public AccountRef fromAccount​(Account account)
        Builds an AccountRef based on the provided Account
        Parameters:
        account - the Account used to build the AccountRef
        Returns:
        an AccountRef based on the provided Account
      • getId

        public String getId()
        The account's id.
        Returns:
        The account's id.
      • getName

        public String getName()
        The account's name.
        Returns:
        The account's name.
      • setId

        public void setId​(String id)
        The account's id.
        Parameters:
        id - The account's id.
      • setName

        public void setName​(String name)
        The account's name.
        Parameters:
        username - The account's name.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object