Package com.nomagic.magicdraw.uml2.util
Class PropertyDefaultValuesManager
- java.lang.Object
 - 
- com.nomagic.magicdraw.uml2.util.PropertyDefaultValuesManager
 
 
- 
public class PropertyDefaultValuesManager extends java.lang.ObjectClass is used to set multiple default values for property, since current implementation only allows single value to be set If a configurator is specified for property, the default values from configurator will be set, skipping the model default value. 
- 
- 
Constructor Summary
Constructors Constructor Description PropertyDefaultValuesManager() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddPropertyDefaultValues(PropertyDefaultValues defaultValues)static java.util.function.Supplier<java.lang.Object>getDefaultValues(Property property, java.util.function.Function<ValueSpecification,?> valueRetrievalFunction)static voidremovePropertyDefaultValues(PropertyDefaultValues defaultValues) 
 - 
 
- 
- 
Method Detail
- 
addPropertyDefaultValues
public static void addPropertyDefaultValues(PropertyDefaultValues defaultValues)
 
- 
removePropertyDefaultValues
public static void removePropertyDefaultValues(PropertyDefaultValues defaultValues)
 
- 
getDefaultValues
@CheckForNull public static java.util.function.Supplier<java.lang.Object> getDefaultValues(Property property, java.util.function.Function<ValueSpecification,?> valueRetrievalFunction)
 
 - 
 
 -