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.servicedecomposition.modelinfo;
 
  23 import java.io.Serializable;
 
  24 import com.fasterxml.jackson.annotation.JsonProperty;
 
  26 public class ModelInfoServiceInstance extends ModelInfoMetadata implements Serializable {
 
  28     private static final long serialVersionUID = -1812787934683419141L;
 
  30     @JsonProperty("description")
 
  31     private String description;
 
  32     @JsonProperty("created")
 
  33     private String created;
 
  34     @JsonProperty("service-type")
 
  35     private String serviceType;
 
  36     @JsonProperty("service-role")
 
  37     private String serviceRole;
 
  38     @JsonProperty("environment-context")
 
  39     private String environmentContext;
 
  40     @JsonProperty("workload-context")
 
  41     private String workloadContext;
 
  42     @JsonProperty("naming-policy")
 
  43     private String namingPolicy;
 
  44     @JsonProperty("onap-generated-naming")
 
  45     private Boolean onapGeneratedNaming;
 
  48     public String getDescription() {
 
  52     public void setDescription(String description) {
 
  53         this.description = description;
 
  56     public String getCreated() {
 
  60     public void setCreated(String created) {
 
  61         this.created = created;
 
  64     public String getServiceType() {
 
  68     public void setServiceType(String serviceType) {
 
  69         this.serviceType = serviceType;
 
  72     public String getServiceRole() {
 
  76     public void setServiceRole(String serviceRole) {
 
  77         this.serviceRole = serviceRole;
 
  80     public String getEnvironmentContext() {
 
  81         return environmentContext;
 
  84     public void setEnvironmentContext(String environmentContext) {
 
  85         this.environmentContext = environmentContext;
 
  88     public String getWorkloadContext() {
 
  89         return workloadContext;
 
  92     public void setWorkloadContext(String workloadContext) {
 
  93         this.workloadContext = workloadContext;
 
  97     public String getNamingPolicy() {
 
 101     public void setNamingPolicy(String namingPolicy) {
 
 102         this.namingPolicy = namingPolicy;
 
 105     public Boolean getOnapGeneratedNaming() {
 
 106         return onapGeneratedNaming;
 
 109     public void setOnapGeneratedNaming(Boolean onapGeneratedNaming) {
 
 110         this.onapGeneratedNaming = onapGeneratedNaming;