Class DcsPath

java.lang.Object
com._1c.g5.v8.dt.dcs.path.DcsPathBase
com._1c.g5.v8.dt.dcs.path.DcsPath

public class DcsPath extends DcsPathBase
Путь системы компоновки данных
  • Constructor Details

  • Method Details

    • append

      public DcsPath append(DcsPathPart pathPart) throws DcsPathException
      Добавить часть пути
      Parameters:
      pathPart - часть пути
      Returns:
      путь
      Throws:
      DcsPathException
    • append

      public DcsPath append(DcsPath path) throws DcsPathException
      Добавить путь
      Parameters:
      path - добавляемый путь
      Returns:
      результирующий путь
      Throws:
      DcsPathException
    • split

      public void split(List<DcsPathPart> parts) throws DcsPathException
      Разбить на части
      Parameters:
      parts - части
      Throws:
      DcsPathException
    • split2

      public void split2(List<DcsName> parts2) throws DcsPathException
      Разбить на части
      Parameters:
      parts2 - части
      Throws:
      DcsPathException
    • splitNotSingle

      public boolean splitNotSingle(List<DcsPathPart> parts) throws DcsPathException
      Разбить строку на несколько, только в случае если строка не была одиночной
      Parameters:
      parts - части
      Returns:
      истина, если строка не была одиночной и была разбита, ложь если строка была одиночной
      Throws:
      DcsPathException
    • combine

      public DcsPath combine(List<DcsPathPart> parts)
      Сформировать путь из частей
      Parameters:
      parts - части
      Returns:
      путь
    • nearParentPath

      public DcsPath nearParentPath() throws DcsPathException
      Получить родительский путь
      Returns:
      родительский путь
      Throws:
      DcsPathException
    • isEmpty

      public boolean isEmpty()
      Проверка на пустоту
      Returns:
      пустой
    • isEndWith

      public boolean isEndWith(DcsPath testPath)
      Проверить, заканчивается ли путь на указанный путь
      Parameters:
      testPath - путь
      Returns:
      истина, если заканчивается
    • getChildPath

      public DcsPath getChildPath() throws DcsPathException
      Получить путь потомка
      Returns:
      путь
      Throws:
      DcsPathException
    • isChildPath

      public boolean isChildPath(DcsPath path)
      Check whether given path is child for this
      Parameters:
      path - path, can't be null
      Returns:
      whether given path is child for this