[New] Added StrolchRootElement.getClone(boolean)

This commit is contained in:
Robert von Burg 2018-02-02 13:03:35 +01:00
parent c60a24409a
commit dba3b86762
3 changed files with 9 additions and 0 deletions

View File

@ -173,6 +173,9 @@ public class Order extends AbstractStrolchRootElement implements StrolchRootElem
if (this.policyDefs != null)
clone.setPolicyDefs(this.policyDefs.getClone());
if (withVersion)
clone.setVersion(this.version);
return clone;
}

View File

@ -209,6 +209,9 @@ public class Resource extends AbstractStrolchRootElement implements StrolchRootE
if (this.policyDefs != null)
clone.setPolicyDefs(this.policyDefs.getClone());
if (withVersion)
clone.setVersion(this.version);
return clone;
}

View File

@ -501,6 +501,9 @@ public class Activity extends AbstractStrolchRootElement
if (this.policyDefs != null)
clone.setPolicyDefs(this.policyDefs.getClone());
if (withVersion)
clone.setVersion(this.version);
return clone;
}