Interface PropertyContainer

    • Method Detail

      • setPropertyList

        void setPropertyList​(PropertyList properties)
      • add

        default PropertyContainer add​(Property property)
        Add a property to the container.
        Parameters:
        property - the property to add
        Returns:
        a reference to the container to support method chaining
      • addAll

        default PropertyContainer addAll​(Collection<Property> properties)
        Add multiple properties to the container.
        Parameters:
        properties - a collection of properties to add
        Returns:
        a reference to the container to support method chaining
      • remove

        default PropertyContainer remove​(Property property)
        Remove a property from the container.
        Parameters:
        property - the property to remove
        Returns:
        a reference to the container to support method chaining
      • removeAll

        default PropertyContainer removeAll​(String... name)
        Remove all properties with the matching name.
        Parameters:
        name - name of the properties to remove
        Returns:
        a reference to the container to support method chaining
      • replace

        default PropertyContainer replace​(Property property)
        Add a property to the container whilst removing all other properties with the same property name.
        Parameters:
        property - the property to add
        Returns:
        a reference to the container to support method chaining