2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 AT&T Intellectual Property. All rights
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END============================================
20 * ===================================================================
24 package org.onap.clamp.loop.template;
26 import com.google.gson.annotations.Expose;
27 import java.io.Serializable;
28 import javax.persistence.Column;
29 import javax.persistence.Embeddable;
32 public class LoopTemplateLoopElementModelId implements Serializable {
37 private static final long serialVersionUID = 4089888115504914773L;
40 @Column(name = "loop_template_name")
41 private String loopTemplateName;
44 @Column(name = "loop_element_model_name")
45 private String loopElementModelName;
48 * Default constructor for serialization.
50 public LoopTemplateLoopElementModelId() {
57 * @param loopTemplateName The loop template name id
58 * @param microServiceModelName THe micro Service name id
60 public LoopTemplateLoopElementModelId(String loopTemplateName, String microServiceModelName) {
61 this.loopTemplateName = loopTemplateName;
62 this.loopElementModelName = microServiceModelName;
66 * loopTemplateName getter.
68 * @return the loopTemplateName
70 public String getLoopTemplateName() {
71 return loopTemplateName;
75 * loopTemplateName setter.
77 * @param loopTemplateName the loopTemplateName to set
79 public void setLoopTemplateName(String loopTemplateName) {
80 this.loopTemplateName = loopTemplateName;
84 * microServiceModelName getter.
86 * @return the microServiceModelName
88 public String getLoopElementModelName() {
89 return loopElementModelName;
93 * loopElementModelName setter.
95 * @param loopElementModelName the loopElementModelName to set
97 public void setLoopElementModelName(String loopElementModelName) {
98 this.loopElementModelName = loopElementModelName;