/** * Get the space reference for this entity reference, * this ignored any id and only returns the reference to the entity space * @return the entity space reference (e.g. /myPrefix) */ public String getSpaceReference() { return makeEntityReference(true); }
/** * @return the string version of this entity reference, * example: /prefix if there is no id or /prefix/id if there is an id */ @Override public String toString() { return makeEntityReference(false); }