blob: fb03a415ac8248abdc99512e6cfa27361126b492 [file] [log] [blame]
Simon Hunt1ee09852015-09-29 12:28:14 -07001#set( $symbol_pound = '#' )
2#set( $symbol_dollar = '$' )
3#set( $symbol_escape = '\' )
4/*
HIGUCHI Yuta9caa3a02016-01-09 23:17:54 -08005 * Copyright 2016 Open Networking Laboratory
Simon Hunt1ee09852015-09-29 12:28:14 -07006 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19package ${package};
20
21import org.onosproject.net.Link;
22import org.onosproject.net.LinkKey;
23import org.onosproject.ui.topo.BiLinkMap;
24
25/**
26 * Our concrete link map.
27 */
28public class DemoLinkMap extends BiLinkMap<DemoLink> {
29 @Override
30 protected DemoLink create(LinkKey linkKey, Link link) {
31 return new DemoLink(linkKey, link);
32 }
33}