Interface MultipartPropertyContainer
public interface MultipartPropertyContainer
-
Method Summary
Modifier and TypeMethodDescription<T> void
clearValue
(Object key, MultipartProperty<T> property) void
clearValues
(Object key) Removes all property values set for the given key.<T> T
getValue
(MultipartProperty<T> property) <T> void
setValue
(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 value
if 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 theAbstractPart
is re-used, because when that part is removed from theMultipartContainer
clearValues(Object)
will be called with that part.
-
clearValue
-
clearValues
Removes all property values set for the given key.
-