2 * Copyright 2016 [ZTE] and others.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package org.openo.commontosca.catalog.db.entity;
19 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.Id;
24 import javax.persistence.Table;
28 @Table(name = "catalog_service_template_table")
29 @JsonIgnoreProperties(ignoreUnknown = true)
30 public class ServiceTemplateData extends BaseData {
32 @Column(name = "SERVICETEMPLATEID")
33 private String serviceTemplateId;
34 @Column(name = "TEMPLATENAME")
35 private String templateName;
37 @Column(name = "TYPE")
40 @Column(name = "VENDOR")
41 private String vendor;
43 @Column(name = "VERSION")
44 private String version;
46 @Column(name = "CSARID")
47 private String csarId;
49 @Column(name = "INPUTS")
50 private String inputs;
52 @Column(name = "DOWNLOADURI")
53 private String downloadUri;
55 @Column(name = "ROWDATA")
56 private String rowData;
57 @Column(name = "OPERATIONS")
58 private String operations;
60 public String getRowData() {
64 public void setRowData(String rowData) {
65 this.rowData = rowData;
68 public String getOperations() {
72 public void setOperations(String operations) {
73 this.operations = operations;
76 public String getTemplateName() {
80 public void setTemplateName(String templateName) {
81 this.templateName = templateName;
84 public String getType() {
88 public void setType(String type) {
92 public String getVendor() {
96 public void setVendor(String vendor) {
100 public String getVersion() {
104 public void setVersion(String version) {
105 this.version = version;
108 public String getCsarId() {
112 public void setCsarId(String csarId) {
113 this.csarId = csarId;
116 public String getInputs() {
120 public void setInputs(String inputs) {
121 this.inputs = inputs;
124 public String getDownloadUri() {
128 public void setDownloadUri(String downloadUri) {
129 this.downloadUri = downloadUri;
132 public void setServiceTemplateId(String serviceTemplateId) {
133 this.serviceTemplateId = serviceTemplateId;
136 public String getServiceTemplateId() {
137 return serviceTemplateId;