23c8f8602cacc6c6654345158d306bc7082c9be7
[sdc/sdc-workflow-designer.git] /
1 /**
2  * Copyright 2018 ZTE Corporation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package org.onap.sdc.workflowdesigner.externalservice.sdc.entity;
17
18 import java.io.Serializable;
19
20 public class WorkflowArtifactInfo implements Serializable {
21   public static final long serialVersionUID = 1L;
22
23   private String artifactName;
24   
25   private String description;
26   
27   private String artifactType = "WORKFLOW";
28   
29   private String payloadData;
30   
31
32   /**
33    * @param artifactName
34    * @param description
35    * @param artifactType
36    * @param payloadData
37    */
38   public WorkflowArtifactInfo(String artifactName, String description, String artifactType,
39       String payloadData) {
40     super();
41     this.artifactName = artifactName;
42     this.description = description;
43     this.artifactType = artifactType;
44     this.payloadData = payloadData;
45   }
46
47   /**
48    * @return the artifactName
49    */
50   public String getArtifactName() {
51     return artifactName;
52   }
53
54   /**
55    * @param artifactName the artifactName to set
56    */
57   public void setArtifactName(String artifactName) {
58     this.artifactName = artifactName;
59   }
60
61   /**
62    * @return the description
63    */
64   public String getDescription() {
65     return description;
66   }
67
68   /**
69    * @param description the description to set
70    */
71   public void setDescription(String description) {
72     this.description = description;
73   }
74
75   /**
76    * @return the artifactType
77    */
78   public String getArtifactType() {
79     return artifactType;
80   }
81
82   /**
83    * @param artifactType the artifactType to set
84    */
85   public void setArtifactType(String artifactType) {
86     this.artifactType = artifactType;
87   }
88
89   /**
90    * @return the payloadData
91    */
92   public String getPayloadData() {
93     return payloadData;
94   }
95
96   /**
97    * @param payloadData the payloadData to set
98    */
99   public void setPayloadData(String payloadData) {
100     this.payloadData = payloadData;
101   }
102
103   /**
104    * @return the serialversionuid
105    */
106   public static long getSerialversionuid() {
107     return serialVersionUID;
108   }
109
110 }