Class AbstractFormDataSourceInfo

    • Constructor Detail

      • AbstractFormDataSourceInfo

        public AbstractFormDataSourceInfo()
    • Method Detail

      • getExtension

        public Object getExtension()
        Returns:
        the extension
      • getForm

        public Form getForm()
        Gets form corresponding to the this element
        Returns:
        form corresponding to the this element, or null if element wasn't linked with Form
      • getName

        public String getName()
        Gets name of the element
        Returns:
        name of the element, can't be null
      • getNameRu

        public String getNameRu()
        Gets Russian name of the element
        Returns:
        name of the element, can't be null
      • getParent

        public AbstractFormDataSourceInfo getParent()
        Gets parent element for
        Returns:
        the parent of this element, can be null if it's root element
      • getSource

        public Object getSource()
        Gets source element for. The source element is the element from form model or other AbstractFormDataSourceInfo which provide this element
        Returns:
        source element, can be null if there is no source element for this element
      • getSourceTextRegion

        public org.eclipse.xtext.util.ITextRegion getSourceTextRegion()
        Gets ITextRegion in query text corresponding to the AbstractFormDataSourceInfo
        Returns:
        ITextRegion in query text corresponding to the AbstractFormDataSourceInfo, can be null if there is no region for source
      • setExtension

        public void setExtension​(Object extension)
        Parameters:
        extension - the extension to set
      • setName

        public void setName​(String name)
        Sets name of the element
        Parameters:
        name - name of the element, can't be null
      • setNameRu

        public void setNameRu​(String name)
        Sets Russian name of the element
        Parameters:
        name - name of the element, can't be null
      • setParent

        public void setParent​(AbstractFormDataSourceInfo parent)
        Sets parent element for
        Parameters:
        parent - the parent to set, can be null
      • setSource

        public void setSource​(Object source)
        Sets source element for. The source element is the element from form model or other AbstractFormDataSourceInfo which provide this element
        Parameters:
        source - element, can be null if there is no source element for this element
      • setSourceTextRegion

        public void setSourceTextRegion​(org.eclipse.xtext.util.ITextRegion textRegion)
        Sets ITextRegion in query text corresponding to the AbstractFormDataSourceInfo
        Parameters:
        textRegion - ITextRegion in query text corresponding to the AbstractFormDataSourceInfo, can be null if there is no region for source