Package com.nomagic.uml2.ext.jmi.reflect
Interface ValueSetter
-
- All Known Subinterfaces:
CollectionValueSetter
public interface ValueSetter
Base interface for all objects that contains logic how specific value can be set to the specified object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
setValue(javax.jmi.reflect.RefObject object, java.lang.Object value)
Implementation should set property of the specified object to the specified value.default void
setValue(javax.jmi.reflect.RefObject object, java.lang.Object value, java.lang.Object context)
Implementation should set property of the specified object to the specified value regarding the context.
-
-
-
Method Detail
-
setValue
void setValue(javax.jmi.reflect.RefObject object, java.lang.Object value)
Implementation should set property of the specified object to the specified value. If object value is collection, this operation will perform "addValue"- Parameters:
object
- an element.value
- a value.
-
setValue
default void setValue(javax.jmi.reflect.RefObject object, java.lang.Object value, @CheckForNull java.lang.Object context)
Implementation should set property of the specified object to the specified value regarding the context. If object value is collection, this operation will perform "addValue"- Parameters:
object
- an element.value
- a value.context
- value context
-
-