Class User


  • public class User
    extends Object

    User class.

    Version:
    $Id: $Id
    Author:
    Michael Thomas (mikepthomas@outlook.com)
    • Constructor Detail

      • User

        public User()

        Constructor for User.

      • User

        public User​(String name,
                    long newCredit,
                    long sum,
                    int team)

        Constructor for User.

        Parameters:
        name - a String object.
        newCredit - a long.
        sum - a int.
        team - a int.
    • Method Detail

      • getUniqueId

        public int getUniqueId()
        Get the value of uniqueId
        Returns:
        the value of uniqueId
      • setUniqueId

        public void setUniqueId​(int uniqueId)
        Set the value of uniqueId
        Parameters:
        uniqueId - new value of uniqueId
      • getName

        public String getName()
        Get the value of name
        Returns:
        the value of name
      • setName

        public void setName​(String name)
        Set the value of name
        Parameters:
        name - new value of name
      • getNewCredit

        public long getNewCredit()
        Get the value of newCredit
        Returns:
        the value of newCredit
      • setNewCredit

        public void setNewCredit​(long newCredit)
        Set the value of newCredit
        Parameters:
        newCredit - new value of newCredit
      • getSum

        public long getSum()
        Get the value of sum
        Returns:
        the value of sum
      • setSum

        public void setSum​(long sum)
        Set the value of sum
        Parameters:
        sum - new value of sum
      • getTeam

        public int getTeam()
        Get the value of team
        Returns:
        the value of team
      • setTeam

        public void setTeam​(int team)
        Set the value of team
        Parameters:
        team - new value of team