/*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.social.viadeo.api;
import java.io.Serializable;
import java.util.Date;
/**
* Model class representing a group.
*/
public class Group implements Serializable {
private static final long serialVersionUID = -3375820553217281636L;
private final String id;
private final String name;
private final String link;
private final Date updatedDate;
private String access;
private Integer memberCount;
private String description;
private String keywords;
private String country;
private Boolean isAdmin;
public Group(String id, String name, String link, Date updatedDate) {
this.id = id;
this.name = name;
this.link = link;
this.updatedDate = updatedDate;
}
public String getId() {
return id;
}
public String getName() {
return name;
}
public String getLink() {
return link;
}
public Date getUpdatedDate() {
return updatedDate;
}
public String getAccess() {
return access;
}
public void setAccess(String access) {
this.access = access;
}
public Integer getMemberCount() {
return memberCount;
}
public void setMemberCount(Integer memberCount) {
this.memberCount = memberCount;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getKeywords() {
return keywords;
}
public void setKeywords(String keywords) {
this.keywords = keywords;
}
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public Boolean getIsAdmin() {
return isAdmin;
}
public void setIsAdmin(Boolean isAdmin) {
this.isAdmin = isAdmin;
}
}