2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.bpmn.infrastructure.aai.groovyflows;
23 public class AAIServiceInstance {
24 String serviceInstanceName;
27 String orchestrationStatus;
28 String modelInvariantUuid;
29 String modelVersionId;
30 String environmentContext;
31 String workloadContext;
33 public AAIServiceInstance(String serviceInstanceName, String serviceType, String serviceRole,
34 String orchestrationStatus, String modelInvariantUuid, String modelVersionId, String environmentContext,
35 String workloadContext) {
36 this.serviceInstanceName = serviceInstanceName;
37 this.serviceType = serviceType;
38 this.serviceRole = serviceRole;
39 this.orchestrationStatus = orchestrationStatus;
40 this.modelInvariantUuid = modelInvariantUuid;
41 this.modelVersionId = modelVersionId;
42 this.environmentContext = environmentContext;
43 this.workloadContext = workloadContext;
46 public String getServiceInstanceName() {
47 return serviceInstanceName;
50 public void setServiceInstanceName(String serviceInstanceName) {
51 this.serviceInstanceName = serviceInstanceName;
54 public String getServiceType() {
58 public void setServiceType(String serviceType) {
59 this.serviceType = serviceType;
62 public String getServiceRole() {
66 public void setServiceRole(String serviceRole) {
67 this.serviceRole = serviceRole;
70 public String getOrchestrationStatus() {
71 return orchestrationStatus;
74 public void setOrchestrationStatus(String orchestrationStatus) {
75 this.orchestrationStatus = orchestrationStatus;
78 public String getModelInvariantUuid() {
79 return modelInvariantUuid;
82 public void setModelInvariantUuid(String modelInvariantUuid) {
83 this.modelInvariantUuid = modelInvariantUuid;
86 public String getModelVersionId() {
87 return modelVersionId;
90 public void setModelVersionId(String modelVersionId) {
91 this.modelVersionId = modelVersionId;
94 public String getEnvironmentContext() {
95 return environmentContext;
98 public void setEnvironmentContext(String environmentContext) {
99 this.environmentContext = environmentContext;
102 public String getWorkloadContext() {
103 return workloadContext;
106 public void setWorkloadContext(String workloadContext) {
107 this.workloadContext = workloadContext;