/** * {@inheritDoc} * * This implementation of the method can be used as a reference. It uses the * parent's qualified path and appends '/' and this node's own name to it. * Can also be overridden by subclasses in case a more effective way is * possible. */ @Override public String getQualifiedPath() { final RepositoryFolder parent = getParent(); if (parent == null || parent instanceof Repository) { return '/' + getName(); } return parent.getQualifiedPath() + '/' + getName(); }