Interface PropertyBagCustomizer

    • Method Detail

      • getPropertyValue

        String getPropertyValue​(PropertyBag me,
                                String name)
        Returns a property value if the bean has properties and one of its properties name is equal to the one passed.
        Parameters:
        name - the property name requested
        Returns:
        the property value or null if not found
      • getPropertyValue

        String getPropertyValue​(PropertyBag me,
                                String name,
                                String defaultValue)
        Returns a property value if the bean has properties and one of its properties name is equal to the one passed. Otherwise return the default value.
        Parameters:
        name - the property name requested
        defaultValue - is the default value to return in case the property of that name does not exist in this bag
        Returns:
        the property value