Replaced all tabs with spaces in java and pom.xml
[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 import com.fasterxml.jackson.annotation.JsonIgnore;
26 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
27 import com.fasterxml.jackson.annotation.JsonRootName;
28
29 /**
30  * This class is used to store instance data of services aka ServiceDecomposition
31  *
32  * @author cb645j
33  *
34  */
35 @JsonIgnoreProperties(ignoreUnknown = true)
36 public class ServiceInstance extends JsonWrapper implements Serializable {
37
38     private static final long serialVersionUID = 1L;
39     private String instanceId;
40     private String instanceName;
41     private String orchestrationStatus;
42     private Configuration configuration;
43     private String serviceType;
44     private String serviceRole;
45     private String serviceId;
46     private ModelInfo modelInfo;
47     private String environmentContext;
48     private String workloadContext;
49     private Map serviceParams;
50     private Customer customer = new Customer();
51     private String e2eVpnKey;
52
53     public String getServiceType() {
54         return serviceType;
55     }
56
57     public void setServiceType(String serviceType) {
58         this.serviceType = serviceType;
59     }
60
61     public String getServiceId() {
62         return serviceId;
63     }
64
65     public void setServiceId(String serviceId) {
66         this.serviceId = serviceId;
67     }
68
69     public Map getServiceParams() {
70         return serviceParams;
71     }
72
73     public void setServiceParams(Map serviceParams) {
74         this.serviceParams = serviceParams;
75     }
76
77     public String getInstanceId() {
78         return instanceId;
79     }
80
81     public void setInstanceId(String instanceId) {
82         this.instanceId = instanceId;
83     }
84
85     public String getInstanceName() {
86         return instanceName;
87     }
88
89     public void setInstanceName(String instanceName) {
90         this.instanceName = instanceName;
91     }
92
93     public String getOrchestrationStatus() {
94         return orchestrationStatus;
95     }
96
97     public void setOrchestrationStatus(String orchestrationStatus) {
98         this.orchestrationStatus = orchestrationStatus;
99     }
100
101     public Configuration getConfiguration() {
102         return configuration;
103     }
104
105     public void setConfiguration(Configuration configuration) {
106         this.configuration = configuration;
107     }
108
109     public ModelInfo getModelInfo() {
110         return modelInfo;
111     }
112
113     public void setModelInfo(ModelInfo modelInfo) {
114         this.modelInfo = modelInfo;
115     }
116
117     public String getEnvironmentContext() {
118         return environmentContext;
119     }
120
121     public void setEnvironmentContext(String environmentContext) {
122         this.environmentContext = environmentContext;
123     }
124
125     public String getWorkloadContext() {
126         return workloadContext;
127     }
128
129     public void setWorkloadContext(String workloadContext) {
130         this.workloadContext = workloadContext;
131     }
132
133     public String getServiceRole() {
134         return serviceRole;
135     }
136
137     public void setServiceRole(String serviceRole) {
138         this.serviceRole = serviceRole;
139     }
140
141     public Customer getCustomer() {
142         return customer;
143     }
144
145     public String getE2eVpnKey() {
146         return e2eVpnKey;
147     }
148
149     public void setE2eVpnKey(String e2eVpnKey) {
150         this.e2eVpnKey = e2eVpnKey;
151     }
152 }