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.
16 package org.openo.commontosca.catalog.db.entity;
18 import javax.persistence.Column;
19 import javax.persistence.Entity;
20 import javax.persistence.Id;
21 import javax.persistence.Table;
23 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
26 @Table(name = "catalog_service_template_table")
27 @JsonIgnoreProperties(ignoreUnknown = true)
28 public class ServiceTemplateData extends BaseData {
30 @Column(name = "SERVICETEMPLATEID")
31 private String serviceTemplateId;
32 @Column(name = "TEMPLATENAME")
33 private String templateName;
35 @Column(name = "TYPE")
38 @Column(name = "VENDOR")
39 private String vendor;
41 @Column(name = "VERSION")
42 private String version;
44 @Column(name = "CSARID")
45 private String csarId;
47 @Column(name = "INPUTS")
48 private String inputs;
50 @Column(name = "DOWNLOADURI")
51 private String downloadUri;
53 @Column(name = "ROWDATA")
54 private String rowData;
55 @Column(name = "OPERATIONS")
56 private String operations;
58 public String getRowData() {
62 public void setRowData(String rowData) {
63 this.rowData = rowData;
66 public String getOperations() {
70 public void setOperations(String operations) {
71 this.operations = operations;
74 public String getTemplateName() {
78 public void setTemplateName(String templateName) {
79 this.templateName = templateName;
82 public String getType() {
86 public void setType(String type) {
90 public String getVendor() {
94 public void setVendor(String vendor) {
98 public String getVersion() {
102 public void setVersion(String version) {
103 this.version = version;
106 public String getCsarId() {
110 public void setCsarId(String csarId) {
111 this.csarId = csarId;
114 public String getInputs() {
118 public void setInputs(String inputs) {
119 this.inputs = inputs;
122 public String getDownloadUri() {
126 public void setDownloadUri(String downloadUri) {
127 this.downloadUri = downloadUri;
130 public void setServiceTemplateId(String serviceTemplateId) {
131 this.serviceTemplateId = serviceTemplateId;
134 public String getServiceTemplateId() {
135 return serviceTemplateId;