Containerization feature of SO
[so.git] / bpmn / MSOCoreBPMN / src / main / java / org / onap / so / bpmn / core / domain / ServiceInstance.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.bpmn.core.domain;
22
23 import java.io.Serializable;
24 import java.util.Map;
25
26 import com.fasterxml.jackson.annotation.JsonRootName;
27
28 /**
29  * This class is used to store instance
30  * data of services aka ServiceDecomposition
31  *
32  * @author cb645j
33  *
34  */
35 public class ServiceInstance extends JsonWrapper implements Serializable {
36
37         private static final long serialVersionUID = 1L;
38         private String instanceId;
39         private String instanceName;
40         private String orchestrationStatus;
41         private Configuration configuration;
42         private String serviceType;
43         private String serviceRole;
44         private String serviceId;
45         private ModelInfo modelInfo;
46         private String environmentContext;
47         private String workloadContext;
48         private Map serviceParams;
49
50         public String getServiceType() {
51                 return serviceType;
52         }
53         public void setServiceType(String serviceType) {
54                 this.serviceType = serviceType;
55         }
56         public String getServiceId() {
57                 return serviceId;
58         }
59         public void setServiceId(String serviceId) {
60                 this.serviceId = serviceId;
61         }
62         public Map getServiceParams() {
63                 return serviceParams;
64         }
65         public void setServiceParams(Map serviceParams) {
66                 this.serviceParams = serviceParams;
67         }
68         public String getInstanceId() {
69                 return instanceId;
70         }
71         public void setInstanceId(String instanceId) {
72                 this.instanceId = instanceId;
73         }
74         public String getInstanceName() {
75                 return instanceName;
76         }
77         public void setInstanceName(String instanceName) {
78                 this.instanceName = instanceName;
79         }
80         public String getOrchestrationStatus() {
81                 return orchestrationStatus;
82         }
83         public void setOrchestrationStatus(String orchestrationStatus) {
84                 this.orchestrationStatus = orchestrationStatus;
85         }
86         public Configuration getConfiguration() {
87                 return configuration;
88         }
89         public void setConfiguration(Configuration configuration) {
90                 this.configuration = configuration;
91         }
92         public ModelInfo getModelInfo() {
93                 return modelInfo;
94         }
95         public void setModelInfo(ModelInfo modelInfo) {
96                 this.modelInfo = modelInfo;
97         }
98         public String getEnvironmentContext() {
99                 return environmentContext;
100         }
101         public void setEnvironmentContext(String environmentContext) {
102                 this.environmentContext = environmentContext;
103         }
104         public String getWorkloadContext() {
105                 return workloadContext;
106         }
107         public void setWorkloadContext(String workloadContext) {
108                 this.workloadContext = workloadContext;
109         }
110         public String getServiceRole() {
111                 return serviceRole;
112         }
113         public void setServiceRole(String serviceRole) {
114                 this.serviceRole = serviceRole;
115         }
116 }