blob: 5e6144d24dcc3132afa7c4712abb4bb167a6032f [file] [log] [blame]
Simon Huntcda9c032016-04-11 10:32:54 -07001/*
2 * Copyright 2016 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 */
16
17package org.onosproject.ui.model.topo;
18
19/**
20 * Abstract base class of all elements in the UI topology model.
21 */
22public class UiElement {
Simon Hunt23fb1352016-04-11 12:15:19 -070023
24 /**
25 * Removes all external references, and prepares the instance for
26 * garbage collection. This default implementation does nothing.
27 */
28 protected void destroy() {
29 // does nothing
30 }
Simon Huntcda9c032016-04-11 10:32:54 -070031}