Class FormElementDataSourceInfoExtension


  • public class FormElementDataSourceInfoExtension
    extends Object
    Extension class for Form's models
    • Constructor Detail

      • FormElementDataSourceInfoExtension

        public FormElementDataSourceInfoExtension()
    • Method Detail

      • getPath

        public static <T> T getPath​(ElementDataSourceInfo source,
                                    ScriptVariant variant)
        This method calculates a data path for ElementDataSourceInfoSource object
        Parameters:
        source - the element property info source
        variant - the script language variant
        Returns:
        a data path
      • getPath

        public static <T> T getPath​(ElementDataSourceInfo source)
        This method calculates a data path for ElementDataSourceInfoSource object
        Parameters:
        source - the element property info source
        Returns:
        a data path
      • getElementDataSourceInfoBySource

        public static <T> List<T> getElementDataSourceInfoBySource​(org.eclipse.emf.ecore.EObject source)
        The method calculates a children element for Form object
        Parameters:
        source - the Form object, can't be null
        Returns:
        a calculating children for current source object, never null
      • getElementDataSourceInfoBySource

        public static <T> List<T> getElementDataSourceInfoBySource​(ElementDataSourceInfo source)
        The method calculates a children element for ElementDataSourceInfoSource object
        Parameters:
        source - the element property info source
        Returns:
        a calculating children for current source object