Class UserName

java.lang.Object
com.saperion.users.UserName
All Implemented Interfaces:
Serializable

public class UserName extends Object implements Serializable
Holds the name of the user. The full name as well as the short (or display) name.
Author:
jsc
See Also:
  • Constructor Details

    • UserName

      public UserName(String full, String shrtName)
      This is the literal constructor.
      Parameters:
      full - the full name
      shrtName - the short name
  • Method Details

    • getFullname

      public String getFullname()
      Returns:
      The full name
    • getShortname

      public String getShortname()
      Returns:
      The short name (or displayname)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object