Class DcsAvailableFieldInfo


  • public class DcsAvailableFieldInfo
    extends Object
    Информация о доступном поле системы комопновки данных
    • Field Detail

      • dataPath

        public DcsPath[] dataPath
      • shortTitle

        public String shortTitle
      • isResource

        public boolean isResource
      • isFolder

        public boolean isFolder
      • isFieldFolder

        public boolean isFieldFolder
      • isTable

        public boolean isTable
      • isLeaf

        public boolean isLeaf
      • isUser

        public boolean isUser
      • availableCompareKinds

        public int availableCompareKinds
      • isHierarchyAvailable

        public boolean isHierarchyAvailable
      • flatHierarchy

        public boolean flatHierarchy
      • isDateAdditionAvailable

        public boolean isDateAdditionAvailable
      • isCalculatedField

        public boolean isCalculatedField
      • isDataParameterField

        public boolean isDataParameterField
      • isAliasedField

        public boolean isAliasedField
    • Constructor Detail

      • DcsAvailableFieldInfo

        public DcsAvailableFieldInfo()
    • Method Detail

      • getFieldDef

        public DbViewFieldDef getFieldDef()
        Returns the field's source.

        Source is used for matching data path segments with original data sources at forms

        Returns:
        the fieldDef, can be null
      • setFieldDef

        public void setFieldDef​(DbViewFieldDef fieldDef)
        Sets the field's source.
        Parameters:
        fieldDef - the fieldDef to set, can be null
      • getSourceTextRegion

        public org.eclipse.xtext.util.ITextRegion getSourceTextRegion()
        Gets ITextRegion from query text corresponding to the field
        Returns:
        ITextRegion from query text corresponding to the field, can be null if region for field not cleary detected
      • setSourceTextRegion

        public void setSourceTextRegion​(org.eclipse.xtext.util.ITextRegion textRegion)
        Sets ITextRegion from query text corresponding to the field
        Parameters:
        textRegion - from query text corresponding to the field, can be null if text region was not clear detected