Package com._1c.g5.v8.dt.dcs.path
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 Путь системы компоновки данных
- 
- 
Field Summary- 
Fields inherited from class com._1c.g5.v8.dt.dcs.path.DcsPathBasecontent
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DcsPathappend(DcsPath path)Добавить путьDcsPathappend(DcsPathPart pathPart)Добавить часть путиDcsPathcombine(List<DcsPathPart> parts)Сформировать путь из частейDcsPathgetChildPath()Получить путь потомкаbooleanisChildPath(DcsPath path)Check whether given path is child for thisbooleanisEmpty()Проверка на пустотуbooleanisEndWith(DcsPath testPath)Проверить, заканчивается ли путь на указанный путьDcsPathnearParentPath()Получить родительский путьvoidsplit(List<DcsPathPart> parts)Разбить на частиvoidsplit2(List<DcsName> parts2)Разбить на частиbooleansplitNotSingle(List<DcsPathPart> parts)Разбить строку на несколько, только в случае если строка не была одиночной- 
Methods inherited from class com._1c.g5.v8.dt.dcs.path.DcsPathBaseequals, getContent, hashCode, setContent, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
DcsPathpublic DcsPath() 
 - 
DcsPathpublic DcsPath(DcsPathPart pathPart) throws DcsPathException - Throws:
- DcsPathException
 
 - 
DcsPathpublic DcsPath(DcsName name) throws DcsPathException - Throws:
- DcsPathException
 
 - 
DcsPathpublic DcsPath(String string, int size) throws DcsPathException - Throws:
- DcsPathException
 
 - 
DcsPathpublic DcsPath(String path) throws DcsPathException - Throws:
- DcsPathException
 
 
- 
 - 
Method Detail- 
appendpublic DcsPath append(DcsPathPart pathPart) throws DcsPathException Добавить часть пути- Parameters:
- pathPart- часть пути
- Returns:
- путь
- Throws:
- DcsPathException
 
 - 
appendpublic DcsPath append(DcsPath path) throws DcsPathException Добавить путь- Parameters:
- path- добавляемый путь
- Returns:
- результирующий путь
- Throws:
- DcsPathException
 
 - 
splitpublic void split(List<DcsPathPart> parts) throws DcsPathException Разбить на части- Parameters:
- parts- части
- Throws:
- DcsPathException
 
 - 
split2public void split2(List<DcsName> parts2) throws DcsPathException Разбить на части- Parameters:
- parts2- части
- Throws:
- DcsPathException
 
 - 
splitNotSinglepublic boolean splitNotSingle(List<DcsPathPart> parts) throws DcsPathException Разбить строку на несколько, только в случае если строка не была одиночной- Parameters:
- parts- части
- Returns:
- истина, если строка не была одиночной и была разбита, ложь если строка была одиночной
- Throws:
- DcsPathException
 
 - 
combinepublic DcsPath combine(List<DcsPathPart> parts) Сформировать путь из частей- Parameters:
- parts- части
- Returns:
- путь
 
 - 
nearParentPathpublic DcsPath nearParentPath() throws DcsPathException Получить родительский путь- Returns:
- родительский путь
- Throws:
- DcsPathException
 
 - 
isEmptypublic boolean isEmpty() Проверка на пустоту- Returns:
- пустой
 
 - 
isEndWithpublic boolean isEndWith(DcsPath testPath) Проверить, заканчивается ли путь на указанный путь- Parameters:
- testPath- путь
- Returns:
- истина, если заканчивается
 
 - 
getChildPathpublic DcsPath getChildPath() throws DcsPathException Получить путь потомка- Returns:
- путь
- Throws:
- DcsPathException
 
 - 
isChildPathpublic 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
 
 
- 
 
-