Class PrincipalName

  • Direct Known Subclasses:
    GroupName, UserName

    public abstract class PrincipalName
    extends java.lang.Object
    Represents the name of a principal (user or group) in the User Directory.

    Note that this is an abstract base class and that all instances should be of either UserName or GroupName type.

    Since:
    5.5
    • Constructor Summary

      Constructors 
      Constructor Description
      PrincipalName()
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDomainName()
      Returns the domain name.
      java.lang.String getName()
      Returns the (user or group) name.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PrincipalName

        public PrincipalName()
        Creates a new instance.
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the (user or group) name.
        Returns:
        the name
      • getDomainName

        public java.lang.String getDomainName()
        Returns the domain name. If no domain name has been set the name of the internal SPOTFIRE domain is returned.
        Returns:
        the domain name
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object