Package org.somda.sdc.common.util
Class JaxbModelCloning
java.lang.Object
org.somda.sdc.common.util.JaxbModelCloning
Abstract JAXB objects model cloning class with common methods.
Object cloning is done by JAXB marshalling and unmarshalling.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TdeepCopy(T object) Creates a deep copy of given BICEPS or DPWS model object.
-
Constructor Details
-
JaxbModelCloning
-
-
Method Details
-
deepCopy
public <T> T deepCopy(T object) Creates a deep copy of given BICEPS or DPWS model object.- Type Parameters:
T- BICEPS or DPWS model class.- Parameters:
object- the object to copy.- Returns:
- deep copy of given object.
-