Class TDBObject

    • Method Detail

      • getObjectName

        public String getObjectName()
      • unsetObjectName

        public void unsetObjectName()
      • isSetObjectName

        public boolean isSetObjectName()
        Returns true if field objectName is set (has been assigned a value) and false otherwise
      • setObjectNameIsSet

        public void setObjectNameIsSet​(boolean value)
      • unsetObjectType

        public void unsetObjectType()
      • isSetObjectType

        public boolean isSetObjectType()
        Returns true if field objectType is set (has been assigned a value) and false otherwise
      • setObjectTypeIsSet

        public void setObjectTypeIsSet​(boolean value)
      • getPrivsSize

        public int getPrivsSize()
      • addToPrivs

        public void addToPrivs​(boolean elem)
      • unsetPrivs

        public void unsetPrivs()
      • isSetPrivs

        public boolean isSetPrivs()
        Returns true if field privs is set (has been assigned a value) and false otherwise
      • setPrivsIsSet

        public void setPrivsIsSet​(boolean value)
      • getGrantee

        public String getGrantee()
      • unsetGrantee

        public void unsetGrantee()
      • isSetGrantee

        public boolean isSetGrantee()
        Returns true if field grantee is set (has been assigned a value) and false otherwise
      • setGranteeIsSet

        public void setGranteeIsSet​(boolean value)
      • unsetPrivilegeObjectType

        public void unsetPrivilegeObjectType()
      • isSetPrivilegeObjectType

        public boolean isSetPrivilegeObjectType()
        Returns true if field privilegeObjectType is set (has been assigned a value) and false otherwise
      • setPrivilegeObjectTypeIsSet

        public void setPrivilegeObjectTypeIsSet​(boolean value)
      • getObjectId

        public int getObjectId()
      • setObjectId

        public TDBObject setObjectId​(int objectId)
      • unsetObjectId

        public void unsetObjectId()
      • isSetObjectId

        public boolean isSetObjectId()
        Returns true if field objectId is set (has been assigned a value) and false otherwise
      • setObjectIdIsSet

        public void setObjectIdIsSet​(boolean value)
      • isSet

        public boolean isSet​(TDBObject._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.thrift.TBase<TDBObject,​TDBObject._Fields>
      • equals

        public boolean equals​(TDBObject that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException