+ /** Depth relative to the root of the repository. */
+ int getDepth();
+
+ /**
+ * Whether this is the root node of the related repository. Default checks
+ * whether <code>{@link #getDepth()} == 0</code>, but it can be optimised by
+ * implementations.
+ */
+ default boolean isRoot() {
+ return getDepth() == 0;
+ }
+
+ /**
+ * An opaque ID which is guaranteed to uniquely identify this content within the
+ * session return by {@link #getSession()}. Typically used for UI.
+ */
+ String getSessionLocalId();
+
+ /**
+ * The {@link Content} within the same {@link ContentProvider} which can be used
+ * to mount another {@link ContentProvider}.
+ */