Bump upstreams
[netconf.git] / apps / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / messages / YangTextSchemaSourceRequest.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 package org.opendaylight.netconf.topology.singleton.messages;
9
10 import java.io.Serializable;
11 import org.opendaylight.yangtools.yang.model.api.source.SourceIdentifier;
12
13 /**
14  * Slave sends message to master when tries to resolve schema with particular sourceIdentifier (proxy call).
15  * Master responds with resolved schema source.
16  */
17 public class YangTextSchemaSourceRequest implements Serializable {
18     @java.io.Serial
19     private static final long serialVersionUID = 1L;
20
21     private final SourceIdentifier sourceIdentifier;
22
23     public YangTextSchemaSourceRequest(final SourceIdentifier sourceIdentifier) {
24         this.sourceIdentifier = sourceIdentifier;
25     }
26
27     public SourceIdentifier getSourceIdentifier() {
28         return sourceIdentifier;
29     }
30
31     @Override
32     public String toString() {
33         return "YangTextSchemaSourceRequest [sourceIdentifier=" + sourceIdentifier + "]";
34     }
35 }