summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/domain/applicationdomaintype.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h
index a673493..a581068 100644
--- a/common/domain/applicationdomaintype.h
+++ b/common/domain/applicationdomaintype.h
@@ -53,6 +53,21 @@ public:
53 { 53 {
54 } 54 }
55 55
56 ApplicationDomainType(const ApplicationDomainType &other)
57 {
58 *this = other;
59 }
60
61 ApplicationDomainType& operator=(const ApplicationDomainType &other)
62 {
63 mAdaptor = other.mAdaptor;
64 mChangeSet = other.mChangeSet;
65 mResourceInstanceIdentifier = other.mResourceInstanceIdentifier;
66 mIdentifier = other.mIdentifier;
67 mRevision = other.mRevision;
68 return *this;
69 }
70
56 template <typename DomainType> 71 template <typename DomainType>
57 static typename DomainType::Ptr getInMemoryRepresentation(const ApplicationDomainType &domainType) 72 static typename DomainType::Ptr getInMemoryRepresentation(const ApplicationDomainType &domainType)
58 { 73 {