Updated Flows

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widget-common-event@100982 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-10-24 15:53:03 +00:00
parent de85d38fe8
commit 5859ccadb3
1 changed files with 18 additions and 14 deletions

View File

@ -25,7 +25,6 @@ public class TRId implements Serializable {
*/
private TabResourceType tabResourceType;
/**
* Tabular resource type: Generic, Codelist, Dataset...
*/
@ -52,6 +51,14 @@ public class TRId implements Serializable {
*/
private boolean viewTable;
public static TRId newInstance(TRId trId) {
return new TRId(trId.getId(), trId.getTabResourceType(),
trId.getTableTypeName(), trId.getTableId(),
trId.getTableType(), trId.getReferenceTargetTableId(),
trId.isViewTable());
}
public TRId() {
}
@ -78,8 +85,8 @@ public class TRId implements Serializable {
}
public TRId(String id, TabResourceType tabResourceType, String tableTypeName,
String tableId, String tableType) {
public TRId(String id, TabResourceType tabResourceType,
String tableTypeName, String tableId, String tableType) {
this.id = id;
this.tableTypeName = tableTypeName;
this.tableId = tableId;
@ -88,8 +95,9 @@ public class TRId implements Serializable {
viewTable = false;
}
public TRId(String id, TabResourceType tabResourceType, String tableTypeName,
String tableId, String tableType, String referenceTargetTableId, boolean viewTable) {
public TRId(String id, TabResourceType tabResourceType,
String tableTypeName, String tableId, String tableType,
String referenceTargetTableId, boolean viewTable) {
this.id = id;
this.tableTypeName = tableTypeName;
this.tableId = tableId;
@ -106,7 +114,6 @@ public class TRId implements Serializable {
this.id = id;
}
public TabResourceType getTabResourceType() {
return tabResourceType;
}
@ -175,7 +182,4 @@ public class TRId implements Serializable {
+ referenceTargetTableId + ", viewTable=" + viewTable + "]";
}
}