Class AdaptivePrincipal

    • Constructor Detail

      • AdaptivePrincipal

        public AdaptivePrincipal​(String name)
        TODO-JAVADOC
    • Method Detail

      • getName

        public String getName()
        Returns the VALid user name for this VALid.
        Specified by:
        getName in interface Principal
        Returns:
        the VALid user name for this VALid.
      • toString

        public String toString()
        Returns a string representation of this AdaptivePrincipal.
        Specified by:
        toString in interface Principal
        Overrides:
        toString in class Object
        Returns:
        a string representation of this AdaptivePrincipal.
      • equals

        public boolean equals​(Object obj)
        Compares the specified Object with this AdaptivePrincipal for equality. Returns true if the given object is also a AdaptivePrincipal and the two AdaptivePrincipals have the same user name.
        Specified by:
        equals in interface Principal
        Overrides:
        equals in class Object
        Parameters:
        obj - Object to be compared for equality with this AdaptivePrincipal.
        Returns:
        true if the specified Object is equal equal to this AdaptivePrincipal.