Updated Codelist Mapping Import
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@96578 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c80f775f59
commit
4f3d9382b7
|
@ -2,19 +2,21 @@ package org.gcube.portlets.user.td.gwtservice.shared.codelisthelper;
|
|||
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.resource.ResourceTD;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.source.Source;
|
||||
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
||||
|
||||
public class CodelistMappingSession implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 2381185326076784908L;
|
||||
|
||||
|
||||
protected TRId trId;
|
||||
protected Source source;
|
||||
protected ResourceTD resourceTD;
|
||||
protected String url;
|
||||
protected String localFileName;
|
||||
protected String itemId;
|
||||
|
||||
|
||||
public TRId getTrId() {
|
||||
return trId;
|
||||
}
|
||||
|
@ -55,6 +57,14 @@ public class CodelistMappingSession implements Serializable {
|
|||
this.url = url;
|
||||
}
|
||||
|
||||
public ResourceTD getResourceTD() {
|
||||
return resourceTD;
|
||||
}
|
||||
|
||||
public void setResourceTD(ResourceTD resourceTD) {
|
||||
this.resourceTD = resourceTD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CodelistMappingSession [trId=" + trId + ", source=" + source
|
||||
|
@ -62,9 +72,4 @@ public class CodelistMappingSession implements Serializable {
|
|||
+ ", itemId=" + itemId + "]";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import java.io.Serializable;
|
|||
/**
|
||||
*
|
||||
* @author "Giancarlo Panichi"
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class ResourceTD implements Serializable {
|
||||
|
||||
|
@ -13,6 +13,15 @@ public class ResourceTD implements Serializable {
|
|||
protected String name;
|
||||
protected String description;
|
||||
|
||||
public ResourceTD() {
|
||||
|
||||
}
|
||||
|
||||
public ResourceTD(String name, String description) {
|
||||
this.name = name;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue