detachedres-library/src/main/java/org/gcube/infrastructure/detachedres/detachedreslibrary/shared/re/VO.java

110 lines
2.1 KiB
Java

package org.gcube.infrastructure.detachedres.detachedreslibrary.shared.re;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Calendar;
/**
*
* @author Giancarlo Panichi
*
*/
public class VO implements Serializable {
private static final long serialVersionUID = 2238683459962419017L;
private String scope;
private String name;
private String description;
private ArrayList<VRE> vres;
private Calendar startDate;
private Calendar endDate;
private String catalogUrl;
public VO() {
super();
}
public VO(String scope, String name) {
super();
this.scope = scope;
this.name = name;
}
public VO(String scope, String name, String description) {
super();
this.scope = scope;
this.name = name;
this.description = description;
}
public VO(String scope, String name, String description, ArrayList<VRE> vres) {
super();
this.scope = scope;
this.name = name;
this.description = description;
this.vres = vres;
}
public String getScope() {
return scope;
}
public void setScope(String scope) {
this.scope = scope;
}
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 ArrayList<VRE> getVres() {
return vres;
}
public void setVres(ArrayList<VRE> vres) {
this.vres = vres;
}
public Calendar getStartDate() {
return startDate;
}
public void setStartDate(Calendar startDate) {
this.startDate = startDate;
}
public Calendar getEndDate() {
return endDate;
}
public void setEndDate(Calendar endDate) {
this.endDate = endDate;
}
public String getCatalogUrl() {
return catalogUrl;
}
public void setCatalogUrl(String catalogUrl) {
this.catalogUrl = catalogUrl;
}
@Override
public String toString() {
return "VO [scope=" + scope + ", name=" + name + ", description=" + description + ", vres=" + vres
+ ", startDate=" + startDate + ", endDate=" + endDate + ", catalogUrl=" + catalogUrl + "]";
}
}