pip_services3_commons.data.ICloneable module

pip_services3_commons.data.ICloneable

Interface for cloneable data objects

copyright

Conceptual Vision Consulting LLC 2018-2019, see AUTHORS for more details.

license

MIT, see LICENSE for more details.

class pip_services3_commons.data.ICloneable.ICloneable

Bases: object

Interface for data objects that are able to create their full binary copy.

Example:

class MyClass(IMyClass, ICloneable):
    def __init__():


    def clone(self):
        clone_obj = self.__init__()


        return clone_obj
clone() → Any

Creates a binary clone of this object.

Returns

a clone of this object.