blob: 7ec378bff37d25a46f66f535158801319d98afd2 [file] [log] [blame]
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07001/*
2 * Copyright 2014 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 */
tom2482e6f2014-10-01 16:51:48 -070016package org.onlab.onos.net;
17
tom2482e6f2014-10-01 16:51:48 -070018/**
19 * Represents an entity that carries arbitrary annotations.
20 */
21public interface Annotated {
22
23 /**
tomf5d85d42014-10-02 05:27:56 -070024 * Returns the key/value annotations.
tom2482e6f2014-10-01 16:51:48 -070025 *
tomf5d85d42014-10-02 05:27:56 -070026 * @return key/value annotations
tom2482e6f2014-10-01 16:51:48 -070027 */
tomf5d85d42014-10-02 05:27:56 -070028 Annotations annotations();
tom2482e6f2014-10-01 16:51:48 -070029
30}