Class UserOrGroupId


  • public final class UserOrGroupId
    extends java.lang.Object
    Either a user id or a group id
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete()  
      boolean equals​(java.lang.Object obj)  
      protected void finalize()  
      java.lang.String getId()  
      int hashCode()
      This implementation calls native code, which means it's relatively slow.
      boolean isGroup()  
      boolean isUser()  
      • Methods inherited from class java.lang.Object

        clone, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getId

        public final java.lang.String getId()
      • isUser

        public final boolean isUser()
      • isGroup

        public final boolean isGroup()
      • delete

        public void delete()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • hashCode

        public int hashCode()
        This implementation calls native code, which means it's relatively slow.
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object