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