Class TemplateMapping

    • Constructor Detail

      • TemplateMapping

        public TemplateMapping()
    • Method Detail

      • path

        public TemplateMapping path​(String path)
        Sets the text property path to transform.
        Parameters:
        path - the property path
        Returns:
        the mapping
      • template

        public TemplateMapping template​(String template)
        Sets the template to apply to the text property, for example, "Clone {name}"
        Parameters:
        template - the template
        Returns:
        the mapping
      • templateTransform

        public TemplateMapping templateTransform​(String path,
                                                 String template)
        Sets the text property path and the template value.
        Parameters:
        path - the property path
        template - the template
        Returns:
        the mapping
      • getPath

        public String getPath()
        The name of the text property to transform.
      • getTemplate

        public String getTemplate()
        The template to apply to the text property.