Class LeafNode

    • Method Detail

      • isLeaf

        public final boolean isLeaf()
        Gets whether this node is a leaf - the answer is always true here.
        Returns:
        true always
      • getAttributeType

        public final AttributeType getAttributeType()
        Gets the attributeType this leaf node is based on.
        Returns:
        the attributeType asserted
      • getAttribute

        public final String getAttribute()
        Gets the attribute this leaf node is based on.
        Returns:
        the attribute asserted
      • setAttributeType

        public void setAttributeType​(AttributeType attributeType)
        Sets the attributeType this leaf node is based on.
        Parameters:
        attributeType - the attributeType that is asserted by this filter node
      • setAttribute

        public void setAttribute​(String attribute)
        Sets the attribute this leaf node is based on.
        Parameters:
        attribute - the attribute that is asserted by this filter node
      • isSchemaAware

        public boolean isSchemaAware()
        Tells if this Node is Schema aware.
        Returns:
        true if the Node is SchemaAware