2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.onap.ccsdk.apps.ms.neng.persistence.entity;
23 import java.io.Serializable;
24 import java.sql.Timestamp;
25 import jakarta.persistence.Column;
26 import jakarta.persistence.Entity;
27 import jakarta.persistence.Id;
28 import jakarta.persistence.Table;
31 * General parameters controlling this micro-service.
34 @Table(name = "SERVICE_PARAMETER")
35 public class ServiceParameter implements Serializable {
37 private static final long serialVersionUID = 1L;
39 Integer serviceParameterId;
42 Timestamp createdTime;
44 Timestamp lastUpdatedTime;
48 * Primary key for this entity.
51 @Column(name = "SERVICE_PARAMETER_ID")
52 public Integer getServiceParameterId() {
53 return serviceParameterId;
56 public void setServiceParameterId(Integer serviceParameterId) {
57 this.serviceParameterId = serviceParameterId;
61 * The name of the parameter.
63 @Column(name = "NAME")
64 public String getName() {
68 public void setName(String name) {
73 * The value of the parameter.
75 @Column(name = "VALUE")
76 public String getValue() {
80 public void setValue(String value) {
85 * Time-stamp for this entity creation.
87 @Column(name = "CREATED_TIME")
88 public Timestamp getCreatedTime() {
92 public void setCreatedTime(Timestamp createdTime) {
93 this.createdTime = createdTime;
97 * Identifier for the entity creation.
99 @Column(name = "CREATED_BY")
100 public String getCreatedBy() {
104 public void setCreatedBy(String createdBy) {
105 this.createdBy = createdBy;
109 * Time-stamp for this entity update.
111 @Column(name = "LAST_UPDATED_TIME")
112 public Timestamp getLastUpdatedTime() {
113 return lastUpdatedTime;
116 public void setLastUpdatedTime(Timestamp lastUpdatedTime) {
117 this.lastUpdatedTime = lastUpdatedTime;
121 * Identifier for this entity update.
123 @Column(name = "LAST_UPDATED_BY")
124 public String getLastUpdatedBy() {
125 return lastUpdatedBy;
128 public void setLastUpdatedBy(String lastUpdatedBy) {
129 this.lastUpdatedBy = lastUpdatedBy;