Package lumis.search

Class SearchAttributes

    • Field Detail

      • attributes

        protected Map<String,​List<String>> attributes
        Deprecated.
        The Map of attributes and respective values. The map key is the attribute name, and the map value is a List of attribute values.
    • Constructor Detail

      • SearchAttributes

        public SearchAttributes()
        Deprecated.
    • Method Detail

      • setAttributeValues

        public void setAttributeValues​(String attributeName,
                                       String[] attributeValues)
        Deprecated.
        Set the values of an attribute.
        Parameters:
        attributeName - attribute name
        attributeValues - attribute values
        Since:
        4.0.4
      • setAttributeValues

        public void setAttributeValues​(String attributeName,
                                       List<String> attributeValues)
        Deprecated.
        Set the values of an attribute.
        Parameters:
        attributeName - attribute name
        attributeValues - attribute values
        Since:
        4.0.4
      • addAttributeValue

        public void addAttributeValue​(String attributeName,
                                      String attributeValue)
        Deprecated.
        Add a value to the set of values of an attribute.
        Parameters:
        attributeName - attribute name
        attributeValue - new value to be added
        Since:
        4.0.4
      • removeAttribute

        public void removeAttribute​(String attributeName)
        Deprecated.
        Remove an attribute.
        Parameters:
        attributeName - attribute name
        Since:
        4.0.4
      • hasAttribute

        public boolean hasAttribute​(String attributeName)
        Deprecated.
        Description copied from interface: IAttributeSetReader
        Checks if the attribute set contains at least one attribute with the specified name.
        Specified by:
        hasAttribute in interface IAttributeSetReader
        Parameters:
        attributeName - name of the attribute.
        Returns:
        true if at least one attribute with the provided name was found.
      • getAttributeValues

        public List<String> getAttributeValues​(String attributeName)
        Deprecated.
        Description copied from interface: IAttributeSetReader
        Returns all the values related to the attribute named as specified.
        Specified by:
        getAttributeValues in interface IAttributeSetReader
        Parameters:
        attributeName - name of the attribute.
        Returns:
        all values related to the specified attribute name, or an empty List if there is no value to return.