* Make setParent() access public
* Revert back to only check _parent for relational nodes in getParent()
This commit is contained in:
parent
bebeecfa77
commit
092070bb73
1 changed files with 2 additions and 2 deletions
|
@ -626,7 +626,7 @@ public final class Node implements INode, Serializable {
|
||||||
/**
|
/**
|
||||||
* Set this node's parent node.
|
* Set this node's parent node.
|
||||||
*/
|
*/
|
||||||
protected void setParent(Node parent) {
|
public void setParent(Node parent) {
|
||||||
parentHandle = (parent == null) ? null : parent.getHandle();
|
parentHandle = (parent == null) ? null : parent.getHandle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -702,7 +702,7 @@ public final class Node implements INode, Serializable {
|
||||||
// check what's specified in the type.properties for this node.
|
// check what's specified in the type.properties for this node.
|
||||||
ParentInfo[] parentInfo = null;
|
ParentInfo[] parentInfo = null;
|
||||||
|
|
||||||
if (dbmap != null && lastParentSet <= Math.max(dbmap.getLastTypeChange(), lastmodified)) {
|
if (isRelational() && lastParentSet <= Math.max(dbmap.getLastTypeChange(), lastmodified)) {
|
||||||
parentInfo = dbmap.getParentInfo();
|
parentInfo = dbmap.getParentInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue