Interface MultipartPropertyContainer


public interface MultipartPropertyContainer
  • Method Details

    • getContainer

      MultipartContainer getContainer()
    • getValue

      <T> T getValue(MultipartProperty<T> property)
      Returns:
      The current combined value for the given property across all keys, or the default value if no values have been explicitly set.
    • setValue

      <T> void setValue(Object key, MultipartProperty<T> property, T value)
      Parameters:
      key - The identifier for the source object that is setting the property, compared with identity equality (==) and not object equality. Multiple different sources can all set a different value for the given property. If the caller is an AbstractPart, and contained within getContainer() then it is strongly recommended that the AbstractPart is re-used, because when that part is removed from the MultipartContainer clearValues(Object) will be called with that part.
    • clearValue

      <T> void clearValue(Object key, MultipartProperty<T> property)
    • clearValues

      void clearValues(Object key)
      Removes all property values set for the given key.