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