From a361006cf2f9e6ef9e7e9c28b9f143e16633518c Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Mon, 4 Nov 2013 14:49:28 +0000 Subject: [PATCH] Minor updated git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@84875 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/td/gwtservice/shared/TRId.java | 62 +++++++------------ 1 file changed, 23 insertions(+), 39 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/TRId.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/TRId.java index 8a25e3e..25a2af1 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/TRId.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/TRId.java @@ -4,73 +4,57 @@ import java.io.Serializable; /** * - * @author "Giancarlo Panichi" - * g.panichi@isti.cnr.it - * + * @author "Giancarlo Panichi" g.panichi@isti.cnr.it + * */ -public class TRId implements Serializable{ - +public class TRId implements Serializable { + private static final long serialVersionUID = 192846115142001630L; - + /** * Last table id of tabular resource */ String tableId; - + /** * Tabular resource id */ String id; - - /** - * Item on Workspace - */ - String itemId; - - public TRId(){ - + + public TRId() { + } - - public TRId(String id){ - this.id=id; - this.tableId=null; + + public TRId(String id) { + this.id = id; + this.tableId = null; } - - - public TRId(String id, String tableId){ - this.id=id; - this.tableId=tableId; - this.itemId=null; + + public TRId(String id, String tableId) { + this.id = id; + this.tableId = tableId; } - public String getTableId() { return tableId; } + public void setTableId(String tableId) { this.tableId = tableId; } + public String getId() { return id; } + public void setId(String id) { this.id = id; } - - public String getItemId() { - return itemId; - } - - public void setItemId(String itemId) { - this.itemId = itemId; - } @Override public String toString() { - return "TRId [tableId=" + tableId + ", id=" + id + ", itemId=" + itemId - + "]"; + return "TRId [tableId=" + tableId + ", id=" + id + "]"; } - - - + }