Search in sources :

Example 1 with PathInfo

use of com.torodb.d2r.model.PathStack.PathInfo in project torodb by torodb.

the class DocPartDataCollection method findParent.

private DocPartDataImpl findParent(PathInfo path) {
    PathInfo it = path.getParent();
    while (it != null) {
        DocPartDataImpl tableInfo = docPartDataMap.get(it);
        if (tableInfo != null) {
            return tableInfo;
        }
        it = it.getParent();
    }
    return null;
}
Also used : PathInfo(com.torodb.d2r.model.PathStack.PathInfo) DocPartDataImpl(com.torodb.d2r.model.DocPartDataImpl)

Aggregations

DocPartDataImpl (com.torodb.d2r.model.DocPartDataImpl)1 PathInfo (com.torodb.d2r.model.PathStack.PathInfo)1