Class DeleteRequestImpl

    • Constructor Detail

      • DeleteRequestImpl

        public DeleteRequestImpl()
        Creates a DeleteRequest implementing object used to delete a leaf entry from the DIT.
    • Method Detail

      • getName

        public Dn getName()
        Gets the distinguished name of the leaf entry to be deleted by this request.
        Specified by:
        getName in interface DeleteRequest
        Returns:
        the Dn of the leaf entry to delete.
      • setName

        public DeleteRequest setName​(Dn name)
        Sets the distinguished name of the leaf entry to be deleted by this request.
        Specified by:
        setName in interface DeleteRequest
        Parameters:
        name - the Dn of the leaf entry to delete.
        Returns:
        The DeleteRequest instance
      • getResponseType

        public MessageTypeEnum getResponseType()
        Gets the protocol response message type for this request which produces at least one response.
        Specified by:
        getResponseType in interface SingleReplyRequest
        Returns:
        the message type of the response.
      • equals

        public boolean equals​(Object obj)
        Checks to see if an object is equivalent to this DeleteRequest. First there's a quick test to see if the obj is the same object as this one - if so true is returned. Next if the super method fails false is returned. Then the name of the entry is compared - if not the same false is returned. Finally the method exists returning true.
        Overrides:
        equals in class AbstractRequest
        Parameters:
        obj - the object to test for equality to this
        Returns:
        true if the obj is equal to this DeleteRequest, false otherwise
      • toString

        public String toString()
        Return a String representing a DelRequest
        Overrides:
        toString in class Object
        Returns:
        A DelRequest String