2 * Copyright © 2017-2018 AT&T Intellectual Property.
\r
3 * Modifications Copyright © 2018 IBM.
\r
5 * Licensed under the Apache License, Version 2.0 (the "License");
\r
6 * you may not use this file except in compliance with the License.
\r
7 * You may obtain a copy of the License at
\r
9 * http://www.apache.org/licenses/LICENSE-2.0
\r
11 * Unless required by applicable law or agreed to in writing, software
\r
12 * distributed under the License is distributed on an "AS IS" BASIS,
\r
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 * See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
18 package org.onap.ccsdk.features.model.data;
\r
20 import com.fasterxml.jackson.annotation.JsonIgnore;
\r
21 import com.fasterxml.jackson.annotation.JsonProperty;
\r
24 * ArtifactDefinition.java Purpose: Provide ArtifactDefinition TOSCO Model POJO bean.
\r
28 public class ArtifactDefinition {
\r
31 private String type;
\r
32 private String file;
\r
33 private String repository;
\r
34 private String description;
\r
35 @JsonProperty("deploy_Path")
\r
36 private String deployPath;
\r
37 // Used for Template Type
\r
38 private String content;
\r
39 private String mappingContent;
\r
41 public String getId() {
\r
45 public void setId(String id) {
\r
49 public String getType() {
\r
53 public void setType(String type) {
\r
57 public String getFile() {
\r
61 public void setFile(String file) {
\r
65 public String getRepository() {
\r
69 public void setRepository(String repository) {
\r
70 this.repository = repository;
\r
73 public String getDescription() {
\r
77 public void setDescription(String description) {
\r
78 this.description = description;
\r
81 public String getDeployPath() {
\r
85 public void setDeployPath(String deployPath) {
\r
86 this.deployPath = deployPath;
\r
89 public String getContent() {
\r
93 public void setContent(String content) {
\r
94 this.content = content;
\r
97 public String getMappingContent() {
\r
98 return mappingContent;
\r
101 public void setMappingContent(String mappingContent) {
\r
102 this.mappingContent = mappingContent;
\r