2 * Copyright 2016 ZTE Corporation.
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 com.fasterxml.jackson.annotation.JsonIgnoreProperties;
20 import javax.persistence.Column;
21 import javax.persistence.Entity;
22 import javax.persistence.Id;
23 import javax.persistence.Table;
27 @Table(name = "catalog_service_template_table")
28 @JsonIgnoreProperties(ignoreUnknown = true)
29 public class ServiceTemplateData extends BaseData {
31 @Column(name = "SERVICETEMPLATEID")
32 private String serviceTemplateId;
33 @Column(name = "TEMPLATENAME")
34 private String templateName;
36 @Column(name = "TYPE")
39 @Column(name = "VENDOR")
40 private String vendor;
42 @Column(name = "VERSION")
43 private String version;
45 @Column(name = "CSARID")
46 private String csarId;
48 @Column(name = "INPUTS")
49 private String inputs;
51 @Column(name = "DOWNLOADURI")
52 private String downloadUri;
54 @Column(name = "ROWDATA")
55 private String rowData;
56 @Column(name = "OPERATIONS")
57 private String operations;
59 public String getRowData() {
63 public void setRowData(String rowData) {
64 this.rowData = rowData;
67 public String getOperations() {
71 public void setOperations(String operations) {
72 this.operations = operations;
75 public String getTemplateName() {
79 public void setTemplateName(String templateName) {
80 this.templateName = templateName;
83 public String getType() {
87 public void setType(String type) {
91 public String getVendor() {
95 public void setVendor(String vendor) {
99 public String getVersion() {
103 public void setVersion(String version) {
104 this.version = version;
107 public String getCsarId() {
111 public void setCsarId(String csarId) {
112 this.csarId = csarId;
115 public String getInputs() {
119 public void setInputs(String inputs) {
120 this.inputs = inputs;
123 public String getDownloadUri() {
127 public void setDownloadUri(String downloadUri) {
128 this.downloadUri = downloadUri;
131 public void setServiceTemplateId(String serviceTemplateId) {
132 this.serviceTemplateId = serviceTemplateId;
135 public String getServiceTemplateId() {
136 return serviceTemplateId;