Interface IFormObjectDefaultNameProvider


  • public interface IFormObjectDefaultNameProvider
    Represents provider of default name of a form object.
    • Method Detail

      • getDefaultName

        String getDefaultName​(FormItem item,
                              ScriptVariant scriptVariant)
        Gets the default name for a form item.
        Parameters:
        item - the form item, can not be null.
        scriptVariant - the script variant, can be null.
        Returns:
        return default name, never null or empty.
      • getDefaultName

        String getDefaultName​(ItemType itemType,
                              ScriptVariant scriptVariant)
        Gets the default name for a form item type.
        Parameters:
        itemType - the form item type, can not be null.
        scriptVariant - the script variant, can be null.
        Returns:
        return default name, never null or empty.
      • getDefaultName

        String getDefaultName​(FormVisualEntity visualEntity,
                              ScriptVariant scriptVariant)
        Gets the default name for a form visual item.
        Parameters:
        item - the visual form item, can not be null.
        scriptVariant - the script variant, can be null.
        Returns:
        return default name, never null or empty.
      • getCommandDefaultName

        String getCommandDefaultName​(ScriptVariant scriptVariant)
        Gets the default name for a command of form.
        Parameters:
        scriptVariant - the script variant, can be null.
        Returns:
        the default name of form command, never null or empty.
      • getParameterDefaultName

        String getParameterDefaultName​(ScriptVariant scriptVariant)
        Gets the default name for a parameter of form.
        Parameters:
        scriptVariant - the script variant, can be null.
        Returns:
        the default name of a form parameter, never null or empty.
      • getAttributeDefaultName

        String getAttributeDefaultName​(ScriptVariant scriptVariant)
        Gets the default name for an attribute of form.
        Parameters:
        scriptVariant - the script variant, can be null.
        Returns:
        the default name of an form attribute, never null or empty.
      • getFormDefaultName

        String getFormDefaultName​(ScriptVariant scriptVariant)
        Gets the default name of form.
        Parameters:
        scriptVariant - the script variant, can be null.
        Returns:
        the default name of form, never null or empty.