Package aas_core.aas3_0.copying
Class Copying
java.lang.Object
aas_core.aas3_0.copying.Copying
Allow for making shallow and deep copies of AAS model instances.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Copying
public Copying()
-
-
Method Details
-
shallow
Make a shallow copy ofthat.All the properties are copied by reference. This includes also the lists. Hence, a list property is copied by reference, and not, as sometimes might be expected, as a new list of underlying references.
- Parameters:
that- to be copied in a shallow manner
-
deep
Make a recursively a deep copy ofthat.- Parameters:
that- to be deeply copied in a recursive manner
-