Add serialVersionUID to all java.io.Serializable messages
[netconf.git] / netconf / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / messages / CreateInitialMasterActorData.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.netconf.topology.singleton.messages;
10
11 import java.io.Serializable;
12 import java.util.List;
13 import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker;
14 import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
15
16 /**
17  * Master sends this message to the own actor to set necessary parameters.
18  */
19 public class CreateInitialMasterActorData implements Serializable {
20     private static final long serialVersionUID = 1L;
21
22     private final DOMDataBroker deviceDataBroker;
23     private final List<SourceIdentifier> allSourceIdentifiers;
24
25     public CreateInitialMasterActorData(final DOMDataBroker deviceDataBroker,
26                                         final List<SourceIdentifier> allSourceIdentifiers) {
27         this.deviceDataBroker = deviceDataBroker;
28         this.allSourceIdentifiers = allSourceIdentifiers;
29     }
30
31     public DOMDataBroker getDeviceDataBroker() {
32         return deviceDataBroker;
33     }
34
35     public List<SourceIdentifier> getSourceIndentifiers() {
36         return allSourceIdentifiers;
37     }
38 }