public class VersionedChildJcrItemId extends VersionedJcrItemId
JcrItemId
used for VersionedNodeChild
. Keeps a reference to it's parent
VersionedJcrItemId
and the relative path from the parent to this child.
It's created in JcrItemUtil.getItemId(javax.jcr.Item)
and used to retrieve the wrapped version child-node in JcrItemUtil.getJcrItem(JcrItemId)
.Constructor and Description |
---|
VersionedChildJcrItemId(VersionedJcrItemId parent,
String relPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
VersionedJcrItemId |
getParent() |
String |
getRelPath() |
int |
hashCode() |
getVersionName
getUuid, getWorkspace
public VersionedChildJcrItemId(VersionedJcrItemId parent, String relPath)
public String getRelPath()
public VersionedJcrItemId getParent()
public boolean equals(Object o)
equals
in class VersionedJcrItemId
public int hashCode()
hashCode
in class VersionedJcrItemId
Copyright © 2017 Magnolia International Ltd.. All rights reserved.