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.switchmanager.northbound;
13 import javax.xml.bind.annotation.XmlRootElement;
14 import javax.xml.bind.annotation.XmlElementRef;
15 import javax.xml.bind.annotation.XmlAccessType;
16 import javax.xml.bind.annotation.XmlAccessorType;
17 import javax.xml.bind.annotation.XmlElement;
18 import javax.xml.bind.annotation.XmlElementWrapper;
20 import org.opendaylight.controller.sal.core.Node;
21 import org.opendaylight.controller.sal.core.Property;
24 * The class describes set of properties attached to a node
28 @XmlAccessorType(XmlAccessType.NONE)
29 public class NodeProperties {
34 private Set<Property> properties;
36 // JAXB required constructor
37 private NodeProperties() {
39 this.properties = null;
42 public NodeProperties(Node node, Set<Property> properties) {
44 this.properties = properties;
47 public Set<Property> getProperties() {
51 public void setProperties(Set<Property> properties) {
52 this.properties = properties;
55 public Node getNode() {
59 public void setNode(Node node) {