2 * Copyright (C) 2013 EBay Software Foundation
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 * Authors : Ashwin Raveendran
10 package org.opendaylight.ovsdb.lib.notation;
12 import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
13 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
14 import com.google.common.collect.ForwardingSet;
15 import com.google.common.collect.Sets;
17 import org.opendaylight.ovsdb.lib.notation.json.Converter;
18 import org.opendaylight.ovsdb.lib.notation.json.OvsDBSetSerializer;
22 @JsonDeserialize(converter = Converter.SetConverter.class)
23 @JsonSerialize(using = OvsDBSetSerializer.class)
24 public class OvsDBSet<T> extends ForwardingSet<T> {
26 Set<T> target = Sets.newHashSet();
29 public Set<T> delegate() {