2012-12-23 21:55:39 +01:00
|
|
|
package org.gcube.portlet.user.my_vres.shared;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
/**
|
|
|
|
* @author Massimiliano Assante ISTI-CNR
|
|
|
|
*/
|
|
|
|
@SuppressWarnings("serial")
|
|
|
|
public class ResearchEnvironment implements Serializable{
|
|
|
|
private String name;
|
|
|
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
private String imageURL;
|
2017-01-12 18:48:06 +01:00
|
|
|
//the infrastructure scope
|
|
|
|
private String context;
|
2012-12-23 21:55:39 +01:00
|
|
|
|
|
|
|
private String friendlyURL;
|
|
|
|
|
|
|
|
private UserBelonging userBelonging;
|
|
|
|
|
|
|
|
public ResearchEnvironment() {
|
|
|
|
super();
|
|
|
|
}
|
|
|
|
|
|
|
|
public ResearchEnvironment(String name, String description,
|
2017-01-12 18:48:06 +01:00
|
|
|
String imageURL, String context, String friendlyURL,
|
2012-12-23 21:55:39 +01:00
|
|
|
UserBelonging userBelonging) {
|
|
|
|
super();
|
|
|
|
this.name = name;
|
|
|
|
this.description = description;
|
|
|
|
this.imageURL = imageURL;
|
2017-01-12 18:48:06 +01:00
|
|
|
this.context = context;
|
2012-12-23 21:55:39 +01:00
|
|
|
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;
|
|
|
|
}
|
2017-01-12 18:48:06 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @return the infrastructure scope
|
|
|
|
*/
|
|
|
|
public String getContext() {
|
|
|
|
return context;
|
2012-12-23 21:55:39 +01:00
|
|
|
}
|
|
|
|
|
2017-01-12 18:48:06 +01:00
|
|
|
public void setContext(String context) {
|
|
|
|
this.context = context;
|
2012-12-23 21:55:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getFriendlyURL() {
|
|
|
|
return friendlyURL;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setFriendlyURL(String friendlyURL) {
|
|
|
|
this.friendlyURL = friendlyURL;
|
|
|
|
}
|
|
|
|
|
|
|
|
public UserBelonging getUserBelonging() {
|
|
|
|
return userBelonging;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setUserBelonging(UserBelonging userBelonging) {
|
|
|
|
this.userBelonging = userBelonging;
|
|
|
|
}
|
|
|
|
}
|