55 lines
1.2 KiB
Java
55 lines
1.2 KiB
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.portlets.user.dataminermanager.shared.data.output;
|
|
|
|
import com.google.gwt.user.client.rpc.IsSerializable;
|
|
|
|
/**
|
|
*
|
|
* @author Giancarlo Panichi
|
|
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
*
|
|
*/
|
|
public class TableResource extends Resource implements IsSerializable {
|
|
|
|
private static final long serialVersionUID = -1506902532089828988L;
|
|
private String template;
|
|
|
|
public TableResource() {
|
|
super();
|
|
this.setResourceType(ResourceType.TABULAR);
|
|
}
|
|
|
|
public TableResource(String resourceId, String name, String description, String template) {
|
|
super(resourceId, name, description, ResourceType.TABULAR);
|
|
this.template = template;
|
|
}
|
|
|
|
/**
|
|
* @return the template
|
|
*/
|
|
public String getTemplate() {
|
|
return template;
|
|
}
|
|
|
|
/**
|
|
* @param template
|
|
* the template to set
|
|
*/
|
|
public void setTemplate(String template) {
|
|
this.template = template;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "TableResource [template=" + template + ", getResourceId()="
|
|
+ getResourceId() + ", getName()=" + getName()
|
|
+ ", getDescription()=" + getDescription()
|
|
+ ", getResourceType()=" + getResourceType() + "]";
|
|
}
|
|
|
|
|
|
|
|
}
|