Interface DefaultsGenerator
-
- All Known Implementing Classes:
Default.NoopDefaultsGenerator,LegacyCompositeResource,RestModelSchemaResource
public interface DefaultsGeneratorAn implementation of this interface will allow for the generation/calculation of default values for those situations where such values are dependent on other values in the running system. For example, a default account name can not conflict with an existing account, so such an implementation would apply logic to calculate a reasonable default that is not currently in use in the system.- Author:
- jdlee
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetDefaultValue(String propertyName)Generate/calculate the default value for the property of the given name.
-