[New] Added StrolchRootElement.getClone(boolean)
This commit is contained in:
parent
c60a24409a
commit
dba3b86762
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue