3 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 * and is available at http://www.eclipse.org/legal/epl-v10.html
10 package org.opendaylight.controller.sal.core;
14 * @file UpdateType.java
16 * @brief Describes update types
20 public enum UpdateType {
21 ADDED("added"), REMOVED("removed"), CHANGED("changed");
25 UpdateType(String name) {
29 public String getName() {
33 public int calculateConsistentHashCode() {
34 if (this.name != null) {
35 return this.name.hashCode();