/* (c) 2014 Open Source Geospatial Foundation - all rights reserved
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.geofence.services.rest.model;
import javax.xml.bind.annotation.XmlRootElement;
/**
*
* @author ETj (etj at geo-solutions.it)
*/
@XmlRootElement(name = "ShortUserGroup")
public class RESTShortUserGroup {
private Long id;
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
@Override
public String toString() {
return getClass().getSimpleName() + "[id:" + id + " name:" + name + ']';
}
}