Class UserIdentity


  • public final class UserIdentity
    extends Object
    • Field Detail

      • name

        protected String name
        Full name of the user.
      • email

        protected String email
        Email address (or user@host style string anyway).
      • username

        protected String username
        Username of the user.
      • when

        protected Timestamp when
        Time (in UTC) when the identity was constructed.
      • tz

        protected int tz
        Offset from UTC
      • accountId

        protected Account.Id accountId
        If the user has a Gerrit account, their account identity.
    • Constructor Detail

      • UserIdentity

        public UserIdentity()
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String n)
      • getEmail

        public String getEmail()
      • setEmail

        public void setEmail​(String e)
      • getUsername

        public String getUsername()
      • setDate

        public void setDate​(Timestamp d)
      • getTimeZone

        public int getTimeZone()
      • setTimeZone

        public void setTimeZone​(int offset)
      • setAccount

        public void setAccount​(Account.Id id)