Interface MultipartPropertyContainer
public interface MultipartPropertyContainer
-
Method Summary
Modifier and TypeMethodDescription<T> voidclearValue(Object key, MultipartProperty<T> property) voidclearValues(Object key) Removes all property values set for the given key.<T> TgetValue(MultipartProperty<T> property) <T> voidsetValue(Object key, MultipartProperty<T> property, T value)
-
Method Details
-
getContainer
MultipartContainer getContainer() -
getValue
- Returns:
- The current combined value for the given property across all keys, or the
default valueif no values have been explicitly set.
-
setValue
- 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 anAbstractPart, and contained withingetContainer()then it is strongly recommended that theAbstractPartis re-used, because when that part is removed from theMultipartContainerclearValues(Object)will be called with that part.
-
clearValue
-
clearValues
Removes all property values set for the given key.
-