Class ControlEntry

    • Constructor Detail

      • ControlEntry

        public ControlEntry()
        Default Constructor
      • ControlEntry

        public ControlEntry​(ControlEntry controlEntryObj)
        Copy constructor
        Parameters:
        controlEntryObj - reference to the object to be copied
      • ControlEntry

        public ControlEntry​(String uid,
                            String domain,
                            String interfaceName)
        Parameterized constructor
        Parameters:
        uid - A unique user ID (UID) this Control Entry (CE) applies to or the wildcard character (asterisk sign) if this CE applies to all users. CEs that use the wildcard character are overruled by specific ones (if they exist).
        domain - The domain this Control Entry (CE) applies to.
        interfaceName - The interface this Control Entry (CE) applies to.
    • Method Detail

      • getUid

        public String getUid()
        Gets Uid
        Returns:
        A unique user ID (UID) this Control Entry (CE) applies to or the wildcard character (asterisk sign) if this CE applies to all users. CEs that use the wildcard character are overruled by specific ones (if they exist).
      • setUid

        public void setUid​(String uid)
        Sets Uid
        Parameters:
        uid - A unique user ID (UID) this Control Entry (CE) applies to or the wildcard character (asterisk sign) if this CE applies to all users. CEs that use the wildcard character are overruled by specific ones (if they exist).
      • getDomain

        public String getDomain()
        Gets Domain
        Returns:
        The domain this Control Entry (CE) applies to.
      • setDomain

        public void setDomain​(String domain)
        Sets Domain
        Parameters:
        domain - The domain this Control Entry (CE) applies to.
      • getInterfaceName

        public String getInterfaceName()
        Gets InterfaceName
        Returns:
        The interface this Control Entry (CE) applies to.
      • setInterfaceName

        public void setInterfaceName​(String interfaceName)
        Sets InterfaceName
        Parameters:
        interfaceName - The interface this Control Entry (CE) applies to.
      • toString

        public String toString()
        Stringifies the class
        Overrides:
        toString in class Object
        Returns:
        stringified class content
      • equals

        public boolean equals​(Object obj)
        Check for equality
        Overrides:
        equals in class Object
        Parameters:
        obj - Reference to the object to compare to
        Returns:
        true, if objects are equal, false otherwise
      • hashCode

        public int hashCode()
        Calculate code for hashing based on member contents
        Overrides:
        hashCode in class Object
        Returns:
        The calculated hash code