Class ExtensibleNode

    • Field Detail

      • bytes

        protected byte[] bytes
        The value as a byte[]
    • Constructor Detail

      • ExtensibleNode

        public ExtensibleNode​(AttributeType attributeType)
        Creates a new emptyExtensibleNode object.
        Parameters:
        attributeType - the attributeType associated with this node
      • ExtensibleNode

        public ExtensibleNode​(String attribute)
        Creates a new emptyExtensibleNode object.
        Parameters:
        attribute - the attribute associated with this node
      • ExtensibleNode

        public ExtensibleNode​(AttributeType attributeType,
                              Value value,
                              String matchingRuleId,
                              boolean dnAttributes)
        Creates a new ExtensibleNode object.
        Parameters:
        attributeType - the attributeType used for the extensible assertion
        value - the value to match for
        matchingRuleId - the OID of the matching rule
        dnAttributes - the dn attributes
      • ExtensibleNode

        public ExtensibleNode​(String attribute,
                              Value value,
                              String matchingRuleId,
                              boolean dnAttributes)
        Creates a new ExtensibleNode object.
        Parameters:
        attribute - the attribute used for the extensible assertion
        value - the value to match for
        matchingRuleId - the OID of the matching rule
        dnAttributes - the dn attributes
    • Method Detail

      • clone

        public ExprNode clone()
        Makes a full clone in new memory space of the current node and children
        Specified by:
        clone in interface ExprNode
        Overrides:
        clone in class AbstractExprNode
        Returns:
        the clone
      • hasDnAttributes

        public boolean hasDnAttributes()
        Gets the Dn attributes.
        Returns:
        the dn attributes
      • setDnAttributes

        public void setDnAttributes​(boolean dnAttributes)
        Set the dnAttributes flag
        Parameters:
        dnAttributes - The flag to set
      • getMatchingRuleId

        public String getMatchingRuleId()
        Gets the matching rule id as an OID string.
        Returns:
        the OID
      • setMatchingRuleId

        public void setMatchingRuleId​(String matchingRuleId)
        Sets the matching rule id as an OID string.
        Parameters:
        matchingRuleId - The maching rule ID
      • getValue

        public final Value getValue()
        Gets the value.
        Returns:
        the value
      • getEscapedValue

        public String getEscapedValue()
        Returns:
        representation of value, escaped for use in a filter if required
      • setValue

        public final void setValue​(Value value)
        Sets the value.
        Parameters:
        value - the value