From 95b8f12336bbc46f8d3e7cd407b89911aba8d2c5 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Mon, 15 Sep 2014 11:36:09 +0200 Subject: Rename DomainPath.setEntity to setItemPath --- src/main/java/com/c2kernel/lookup/DomainPath.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/com/c2kernel/lookup') diff --git a/src/main/java/com/c2kernel/lookup/DomainPath.java b/src/main/java/com/c2kernel/lookup/DomainPath.java index c8ae751..f6abfaf 100644 --- a/src/main/java/com/c2kernel/lookup/DomainPath.java +++ b/src/main/java/com/c2kernel/lookup/DomainPath.java @@ -49,7 +49,7 @@ public class DomainPath extends Path public DomainPath(String path, ItemPath entity) { super(path, Path.UNKNOWN); - setEntity(entity); + setItemPath(entity); } public DomainPath(DomainPath parent, String child) { @@ -73,7 +73,7 @@ public class DomainPath extends Path return new DomainPath(parentPath); } - public void setEntity(ItemPath newTarget) { + public void setItemPath(ItemPath newTarget) { if (newTarget == null) { // clear target = null; mType = Path.CONTEXT; @@ -103,9 +103,9 @@ public class DomainPath extends Path return mType; } - public void checkType() { + protected void checkType() { try { - setEntity(Gateway.getLookup().resolvePath(this)); + setItemPath(Gateway.getLookup().resolvePath(this)); } catch (InvalidItemPathException ex) { mType = CONTEXT; } catch (ObjectNotFoundException ex) { -- cgit v1.2.3