You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.7 KiB
Java
79 lines
1.7 KiB
Java
package org.gcube.portlets.user.gcubeloggedin.shared;
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
public class VObject implements Serializable {
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private static final long serialVersionUID = 59621631728865981L;
|
|
|
|
public enum UserBelongingClient {
|
|
BELONGING, NOT_BELONGING, PENDING
|
|
}
|
|
|
|
private String name;
|
|
private String groupName;
|
|
private String description;
|
|
private String imageURL;
|
|
private String friendlyURL;
|
|
|
|
|
|
private UserBelongingClient userBelonging;
|
|
public VObject() {
|
|
super();
|
|
// TODO Auto-generated constructor stub
|
|
}
|
|
|
|
public VObject(String name, String groupName, String description, String imageURL, String friendlyURL,
|
|
UserBelongingClient userBelonging) {
|
|
super();
|
|
this.name = name;
|
|
this.groupName = groupName;
|
|
this.description = description;
|
|
this.imageURL = imageURL;
|
|
this.friendlyURL = friendlyURL;
|
|
this.userBelonging = userBelonging;
|
|
}
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
public String getImageURL() {
|
|
return imageURL;
|
|
}
|
|
public void setImageURL(String imageURL) {
|
|
this.imageURL = imageURL;
|
|
}
|
|
public UserBelongingClient getUserBelonging() {
|
|
return userBelonging;
|
|
}
|
|
public void setUserBelonging(UserBelongingClient userBelonging) {
|
|
this.userBelonging = userBelonging;
|
|
}
|
|
public String getGroupName() {
|
|
return groupName;
|
|
}
|
|
public void setGroupName(String groupName) {
|
|
this.groupName = groupName;
|
|
}
|
|
|
|
public String getFriendlyURL() {
|
|
return friendlyURL;
|
|
}
|
|
|
|
public void setFriendlyURL(String friendlyURL) {
|
|
this.friendlyURL = friendlyURL;
|
|
}
|
|
|
|
} |