2 * Copyright © 2016-2018 European Support Limited
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.openecomp.sdc.be.model;
19 import com.google.common.annotations.VisibleForTesting;
20 import org.openecomp.sdc.be.datatypes.elements.InterfaceDataDefinition;
21 import org.openecomp.sdc.be.datatypes.elements.InterfaceInstanceDataDefinition;
23 public class ComponentInstanceInterface extends InterfaceDefinition {
24 private String interfaceId;
25 private InterfaceInstanceDataDefinition interfaceInstanceDataDefinition;
28 ComponentInstanceInterface() {}
30 public ComponentInstanceInterface(String interfaceId,
31 InterfaceInstanceDataDefinition interfaceInstanceDataDefinition) {
32 this.interfaceId = interfaceId;
33 this.interfaceInstanceDataDefinition = interfaceInstanceDataDefinition;
36 public ComponentInstanceInterface(String interfaceId, InterfaceDataDefinition interfaceDataDefinition) {
37 super(interfaceDataDefinition);
38 this.interfaceId = interfaceId;
41 public String getInterfaceId() {
45 public void setInterfaceId(String interfaceId) {
46 this.interfaceId = interfaceId;
49 public InterfaceInstanceDataDefinition getInterfaceInstanceDataDefinition() {
50 return interfaceInstanceDataDefinition;
53 public void setInterfaceInstanceDataDefinition(
54 InterfaceInstanceDataDefinition interfaceInstanceDataDefinition) {
55 this.interfaceInstanceDataDefinition = interfaceInstanceDataDefinition;