class AbstractJcrItem implements Item, Namespaced {

    @Override
    public int getDepth() throws RepositoryException {
        checkSession();
        return path().size();
    }

    protected  AbstractJcrItem( JcrSession session );

}