Class Group

  • All Implemented Interfaces:
    java.io.Serializable

    public class Group
    extends java.lang.Object
    implements java.io.Serializable
    This class represents credential group. Credential group consists of only a name.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Group​(java.lang.String name)
      Create a credential group with the specified name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)
      Check whether the specified object is equal to this credential group.
      java.lang.String getName()
      Get the name.
      int hashCode()
      Get the hash code.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Group

        public Group​(java.lang.String name)
        Create a credential group with the specified name.
        Parameters:
        name - The name.
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the name.
        Returns:
        The name.
      • equals

        public boolean equals​(java.lang.Object object)
        Check whether the specified object is equal to this credential group. An object is equal to this credential group if and only if (1) the object is an instance of Group, and (2) the name of the object is equal to the name of this credential group.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        object - The object.
        Returns:
        Whether the specified object is equal to this credential group.
      • hashCode

        public int hashCode()
        Get the hash code.
        Overrides:
        hashCode in class java.lang.Object