blob: f51a8d19e276cb7183bbacec17fafadffb1e1508 [file] [log] [blame]
Jian Li95edb592017-01-29 08:42:07 +09001/*
2 * Copyright 2017-present Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.mapping;
17
18import org.onosproject.core.ApplicationId;
19import org.onosproject.net.DeviceId;
20
21/**
22 * Default implementation class for mapping.
23 */
24public class DefaultMapping implements Mapping {
25 @Override
26 public MappingId id() {
27 return null;
28 }
29
30 @Override
31 public short appId() {
32 return 0;
33 }
34
35 @Override
36 public DeviceId deviceId() {
37 return null;
38 }
39
40 public static final class Builder implements Mapping.Builder {
41
42 @Override
43 public Mapping.Builder fromApp(ApplicationId appId) {
44 return null;
45 }
46
47 @Override
48 public Mapping.Builder forDevice(DeviceId deviceId) {
49 return null;
50 }
51
52 @Override
53 public Mapping build() {
54 return null;
55 }
56 }
57}