Interface DefaultsGenerator

  • All Known Implementing Classes:
    Default.NoopDefaultsGenerator, LegacyCompositeResource, RestModelSchemaResource

    public interface DefaultsGenerator
    An 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 Detail

      • getDefaultValue

        Object getDefaultValue​(String propertyName)
        Generate/calculate the default value for the property of the given name.
        Parameters:
        propertyName -
        Returns: