2 * Copyright © 2016 AT&T and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.transportpce.networkmodel.dto;
10 import org.opendaylight.yang.gen.v1.http.org.openroadm.alarm.rev181019.OrgOpenroadmAlarmListener;
11 import org.opendaylight.yang.gen.v1.http.org.openroadm.de.operations.rev181019.OrgOpenroadmDeOperationsListener;
12 import org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev181019.OrgOpenroadmDeviceListener;
13 import org.opendaylight.yang.gen.v1.http.org.openroadm.lldp.rev181019.OrgOpenroadmLldpListener;
14 import org.opendaylight.yang.gen.v1.http.org.openroadm.tca.rev181019.OrgOpenroadmTcaListener;
15 import org.opendaylight.yangtools.concepts.ListenerRegistration;
17 public class NodeRegistration22 {
19 private final String nodeId;
20 private final ListenerRegistration<OrgOpenroadmAlarmListener> accessAlarmNotificationListenerRegistration;
21 private final ListenerRegistration<OrgOpenroadmDeOperationsListener>
22 accessDeOperationasNotificationListenerRegistration;
23 private final ListenerRegistration<OrgOpenroadmDeviceListener> accessDeviceNotificationListenerRegistration;
24 private final ListenerRegistration<OrgOpenroadmLldpListener> accessLldpNotificationListenerRegistration;
25 private final ListenerRegistration<OrgOpenroadmTcaListener> accessTcaNotificationListenerRegistration;
27 public NodeRegistration22(String nodeId,
28 ListenerRegistration<OrgOpenroadmAlarmListener>
29 accessAlarmNotificationListenerRegistration,
30 ListenerRegistration<OrgOpenroadmDeOperationsListener>
31 accessDeOperationasNotificationListenerRegistration,
32 ListenerRegistration<OrgOpenroadmDeviceListener>
33 accessDeviceNotificationListenerRegistration,
34 ListenerRegistration<OrgOpenroadmLldpListener>
35 accessLldpNotificationListenerRegistration,
36 ListenerRegistration<OrgOpenroadmTcaListener>
37 accessTcaNotificationListenerRegistration) {
39 this.accessAlarmNotificationListenerRegistration = accessAlarmNotificationListenerRegistration;
40 this.accessDeOperationasNotificationListenerRegistration = accessDeOperationasNotificationListenerRegistration;
41 this.accessDeviceNotificationListenerRegistration = accessDeviceNotificationListenerRegistration;
42 this.accessLldpNotificationListenerRegistration = accessLldpNotificationListenerRegistration;
43 this.accessTcaNotificationListenerRegistration = accessTcaNotificationListenerRegistration;
46 public String getNodeId() {
50 public ListenerRegistration<OrgOpenroadmAlarmListener> getAccessAlarmNotificationListenerRegistration() {
51 return accessAlarmNotificationListenerRegistration;
54 public ListenerRegistration<OrgOpenroadmDeOperationsListener>
55 getAccessDeOperationasNotificationListenerRegistration() {
56 return accessDeOperationasNotificationListenerRegistration;
59 public ListenerRegistration<OrgOpenroadmDeviceListener> getAccessDeviceNotificationListenerRegistration() {
60 return accessDeviceNotificationListenerRegistration;
63 public ListenerRegistration<OrgOpenroadmLldpListener> getAccessLldpNotificationListenerRegistration() {
64 return accessLldpNotificationListenerRegistration;
67 public ListenerRegistration<OrgOpenroadmTcaListener> getAccessTcaNotificationListenerRegistration() {
68 return accessTcaNotificationListenerRegistration;