ddaa5fce138d2b98ceaa1319444b3d9c4675a085
[vfc/nfvo/catalog.git] /
1 /**
2  * Copyright 2016 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.openo.commontosca.catalog.db.entity;
17
18 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
19
20 import javax.persistence.Column;
21 import javax.persistence.Entity;
22 import javax.persistence.Id;
23 import javax.persistence.Table;
24
25
26 @Entity
27 @Table(name = "catalog_service_template_table")
28 @JsonIgnoreProperties(ignoreUnknown = true)
29 public class ServiceTemplateData extends BaseData {
30   @Id
31   @Column(name = "SERVICETEMPLATEID")
32   private String serviceTemplateId;
33   @Column(name = "TEMPLATENAME")
34   private String templateName;
35
36   @Column(name = "TYPE")
37   private String type;
38
39   @Column(name = "VENDOR")
40   private String vendor;
41
42   @Column(name = "VERSION")
43   private String version;
44
45   @Column(name = "CSARID")
46   private String csarId;
47
48   @Column(name = "INPUTS")
49   private String inputs;
50
51   @Column(name = "DOWNLOADURI")
52   private String downloadUri;
53
54   @Column(name = "ROWDATA")
55   private String rowData;
56   @Column(name = "OPERATIONS")
57   private String operations;
58
59   public String getRowData() {
60     return rowData;
61   }
62
63   public void setRowData(String rowData) {
64     this.rowData = rowData;
65   }
66
67   public String getOperations() {
68     return operations;
69   }
70
71   public void setOperations(String operations) {
72     this.operations = operations;
73   }
74
75   public String getTemplateName() {
76     return templateName;
77   }
78
79   public void setTemplateName(String templateName) {
80     this.templateName = templateName;
81   }
82
83   public String getType() {
84     return type;
85   }
86
87   public void setType(String type) {
88     this.type = type;
89   }
90
91   public String getVendor() {
92     return vendor;
93   }
94
95   public void setVendor(String vendor) {
96     this.vendor = vendor;
97   }
98
99   public String getVersion() {
100     return version;
101   }
102
103   public void setVersion(String version) {
104     this.version = version;
105   }
106
107   public String getCsarId() {
108     return csarId;
109   }
110
111   public void setCsarId(String csarId) {
112     this.csarId = csarId;
113   }
114
115   public String getInputs() {
116     return inputs;
117   }
118
119   public void setInputs(String inputs) {
120     this.inputs = inputs;
121   }
122
123   public String getDownloadUri() {
124     return downloadUri;
125   }
126
127   public void setDownloadUri(String downloadUri) {
128     this.downloadUri = downloadUri;
129   }
130
131   public void setServiceTemplateId(String serviceTemplateId) {
132     this.serviceTemplateId = serviceTemplateId;
133   }
134
135   public String getServiceTemplateId() {
136     return serviceTemplateId;
137   }
138
139 }