add ResourceModelInfo CompareModelsResult java 39/38039/1
authorYulian Han <elaine.hanyulian@huawei.com>
Fri, 23 Mar 2018 10:21:50 +0000 (18:21 +0800)
committerYulian Han <elaine.hanyulian@huawei.com>
Fri, 23 Mar 2018 10:23:51 +0000 (18:23 +0800)
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f0641e9
Issue-ID: SO-419
Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/domain/CompareModelsResult.java [new file with mode: 0644]
bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/domain/ResourceModelInfo.java [new file with mode: 0644]

diff --git a/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/domain/CompareModelsResult.java b/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/domain/CompareModelsResult.java
new file mode 100644 (file)
index 0000000..740e89b
--- /dev/null
@@ -0,0 +1,53 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * ================================================================================
+ * Copyright (C) 2018 Huawei Technologies Co., Ltd. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.openecomp.mso.bpmn.core.domain;
+
+import java.io.Serializable;
+import java.util.List;
+
+public class CompareModelsResult  extends JsonWrapper implements Serializable 
+{
+       private static final long serialVersionUID = 1L;
+       
+       List<ResourceModelInfo> addedResourceList;      
+       List<ResourceModelInfo> deletedResourceList;
+       List<String> requestInputs;
+       
+       public List<ResourceModelInfo> getAddedResourceList() {
+               return addedResourceList;
+       }
+       public void setAddedResourceList(List<ResourceModelInfo> addedResourceList) {
+               this.addedResourceList = addedResourceList;
+       }
+       public List<ResourceModelInfo> getDeletedResourceList() {
+               return deletedResourceList;
+       }
+       public void setDeletedResourceList(List<ResourceModelInfo> deletedResourceList) {
+               this.deletedResourceList = deletedResourceList;
+       }
+       public List<String> getRequestInputs() {
+               return requestInputs;
+       }
+       public void setRequestInputs(List<String> requestInputs) {
+               this.requestInputs = requestInputs;
+       }
+
+}
diff --git a/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/domain/ResourceModelInfo.java b/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/domain/ResourceModelInfo.java
new file mode 100644 (file)
index 0000000..724fe16
--- /dev/null
@@ -0,0 +1,58 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * ================================================================================
+ * Copyright (C) 2018 Huawei Technologies Co., Ltd. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.openecomp.mso.bpmn.core.domain;
+
+import java.io.Serializable;
+
+public class ResourceModelInfo  extends JsonWrapper implements Serializable{
+       
+       private static final long serialVersionUID = 1L;
+       String resourceName;
+       String resourceInvariantUuid;
+       String resourceUuid;
+       String resourceCustomizationUuid;
+       
+       public String getResourceName() {
+               return resourceName;
+       }
+       public void setResourceName(String resourceName) {
+               this.resourceName = resourceName;
+       }
+       public String getResourceInvariantUuid() {
+               return resourceInvariantUuid;
+       }
+       public void setResourceInvariantUuid(String resourceInvariantUuid) {
+               this.resourceInvariantUuid = resourceInvariantUuid;
+       }
+       public String getResourceUuid() {
+               return resourceUuid;
+       }
+       public void setResourceUuid(String resourceUuid) {
+               this.resourceUuid = resourceUuid;
+       }
+       public String getResourceCustomizationUuid() {
+               return resourceCustomizationUuid;
+       }
+       public void setResourceCustomizationUuid(String resourceCustomizationUuid) {
+               this.resourceCustomizationUuid = resourceCustomizationUuid;
+       }
+
+}