Fix FindBugs violations
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / NeutronSecurityGroup.java
1 /*
2  * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.neutron.spi;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlRootElement;
14
15 /**
16  * OpenStack Neutron v2.0 Security Group bindings.
17  * See OpenStack Network API v2.0 Reference for description of
18  * annotated attributes. The current fields are as follows:
19  *
20  * <p>
21  * id                   uuid-str unique ID for the security group.
22  * name                 String name of the security group.
23  * tenant_id            uuid-str Owner of security rule..
24  */
25
26 @XmlRootElement
27 @XmlAccessorType(XmlAccessType.NONE)
28 public final class NeutronSecurityGroup extends NeutronBaseAttributes<NeutronSecurityGroup> {
29     private static final long serialVersionUID = 1L;
30
31     public NeutronSecurityGroup() {
32     }
33
34     @Override
35     public String toString() {
36         return "NeutronSecurityGroup{" + "securityGroupUUID='" + uuid + '\'' + ", securityGroupName='"
37                 + name + '\'' + ", securityGroupTenantID='" + tenantID + '\'' + "]";
38     }
39 }