Interface AttributeProvider

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    ItemAttributeProvider

    public interface AttributeProvider
    extends java.io.Serializable
    Provides attribute values for managed source object.
    Since:
    4.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getAttribute​(java.lang.String qualifier)
      Gets the attribute value of managed source object for attribute with given qualifier without paying attention to current session language.
      java.lang.Object getLocalizedAttribute​(java.lang.String qualifier, java.util.Locale loc)
      Gets the attribute value of managed source object for attribute with given qualifier for the given Locale
    • Method Detail

      • getAttribute

        java.lang.Object getAttribute​(java.lang.String qualifier)
        Gets the attribute value of managed source object for attribute with given qualifier without paying attention to current session language.
        Parameters:
        qualifier - qualifier identifying the attribute for which the value is needed
        Returns:
        value for specified attribute of managed source object
      • getLocalizedAttribute

        java.lang.Object getLocalizedAttribute​(java.lang.String qualifier,
                                               java.util.Locale loc)
        Gets the attribute value of managed source object for attribute with given qualifier for the given Locale
        Parameters:
        qualifier - qualifier identifying the attribute for which the value is needed
        loc - the locale
        Returns:
        value for specified attribute of managed source object