Interface Attributes


  • public interface Attributes

    Holds attributes, their values and provides utlity methods to manage them.

    In the future, it may be useful to provide different implementations for this interface in order to plug or integrate with different Policy Information Point (PIP).

    Author:
    Pedro Igor
    • Method Detail

      • exists

        default boolean exists​(String name)
        Checks if there is an attribute with the given name.
        Parameters:
        name - the attribute name
        Returns:
        true if any attribute with name exist. Otherwise, returns false.
      • containsValue

        default boolean containsValue​(String name,
                                      String value)
        Checks if there is an attribute with the given name and value.
        Parameters:
        name - the attribute name
        value - the attribute value
        Returns:
        true if any attribute with name and value exist. Otherwise, returns false.