/* * Copyright © 2016 AT&T and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.transportpce.networkmodel.dto; import org.opendaylight.yang.gen.v1.http.org.openroadm.alarm.rev161014.OrgOpenroadmAlarmListener; import org.opendaylight.yang.gen.v1.http.org.openroadm.de.operations.rev161014.OrgOpenroadmDeOperationsListener; import org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.OrgOpenroadmDeviceListener; import org.opendaylight.yang.gen.v1.http.org.openroadm.lldp.rev161014.OrgOpenroadmLldpListener; import org.opendaylight.yang.gen.v1.http.org.openroadm.tca.rev161014.OrgOpenroadmTcaListener; import org.opendaylight.yangtools.concepts.ListenerRegistration; public class NodeRegistration { private final String nodeId; private final ListenerRegistration accessAlarmNotificationListenerRegistration; private final ListenerRegistration accessDeOperationasNotificationListenerRegistration; private final ListenerRegistration accessDeviceNotificationListenerRegistration; private final ListenerRegistration accessLldpNotificationListenerRegistration; private final ListenerRegistration accessTcaNotificationListenerRegistration; public NodeRegistration(String nodeId, ListenerRegistration accessAlarmNotificationListenerRegistration, ListenerRegistration accessDeOperationasNotificationListenerRegistration, ListenerRegistration accessDeviceNotificationListenerRegistration, ListenerRegistration accessLldpNotificationListenerRegistration, ListenerRegistration accessTcaNotificationListenerRegistration) { this.nodeId = nodeId; this.accessAlarmNotificationListenerRegistration = accessAlarmNotificationListenerRegistration; this.accessDeOperationasNotificationListenerRegistration = accessDeOperationasNotificationListenerRegistration; this.accessDeviceNotificationListenerRegistration = accessDeviceNotificationListenerRegistration; this.accessLldpNotificationListenerRegistration = accessLldpNotificationListenerRegistration; this.accessTcaNotificationListenerRegistration = accessTcaNotificationListenerRegistration; } public String getNodeId() { return nodeId; } public ListenerRegistration getAccessAlarmNotificationListenerRegistration() { return accessAlarmNotificationListenerRegistration; } public ListenerRegistration getAccessDeOperationasNotificationListenerRegistration() { return accessDeOperationasNotificationListenerRegistration; } public ListenerRegistration getAccessDeviceNotificationListenerRegistration() { return accessDeviceNotificationListenerRegistration; } public ListenerRegistration getAccessLldpNotificationListenerRegistration() { return accessLldpNotificationListenerRegistration; } public ListenerRegistration getAccessTcaNotificationListenerRegistration() { return accessTcaNotificationListenerRegistration; } }