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:
parent
de85d38fe8
commit
5859ccadb3
|
@ -19,12 +19,11 @@ public class TRId implements Serializable {
|
||||||
* Tabular resource id
|
* Tabular resource id
|
||||||
*/
|
*/
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TabResourceType: Standard, Flow....
|
* TabResourceType: Standard, Flow....
|
||||||
*/
|
*/
|
||||||
private TabResourceType tabResourceType;
|
private TabResourceType tabResourceType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tabular resource type: Generic, Codelist, Dataset...
|
* Tabular resource type: Generic, Codelist, Dataset...
|
||||||
|
@ -46,19 +45,27 @@ public class TRId implements Serializable {
|
||||||
* reference to associated table
|
* reference to associated table
|
||||||
*/
|
*/
|
||||||
private String referenceTargetTableId;
|
private String referenceTargetTableId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* True if tableId identifies a View
|
* True if tableId identifies a View
|
||||||
*/
|
*/
|
||||||
private boolean viewTable;
|
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() {
|
public TRId() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public TRId(String id) {
|
public TRId(String id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
tabResourceType=null;
|
tabResourceType = null;
|
||||||
tableTypeName = null;
|
tableTypeName = null;
|
||||||
tableId = null;
|
tableId = null;
|
||||||
tableType = null;
|
tableType = null;
|
||||||
|
@ -69,7 +76,7 @@ public class TRId implements Serializable {
|
||||||
|
|
||||||
public TRId(String id, TabResourceType tabResourceType, String tableId) {
|
public TRId(String id, TabResourceType tabResourceType, String tableId) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.tabResourceType=tabResourceType;
|
this.tabResourceType = tabResourceType;
|
||||||
tableTypeName = null;
|
tableTypeName = null;
|
||||||
this.tableId = tableId;
|
this.tableId = tableId;
|
||||||
tableType = null;
|
tableType = null;
|
||||||
|
@ -78,8 +85,8 @@ public class TRId implements Serializable {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public TRId(String id, TabResourceType tabResourceType, String tableTypeName,
|
public TRId(String id, TabResourceType tabResourceType,
|
||||||
String tableId, String tableType) {
|
String tableTypeName, String tableId, String tableType) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.tableTypeName = tableTypeName;
|
this.tableTypeName = tableTypeName;
|
||||||
this.tableId = tableId;
|
this.tableId = tableId;
|
||||||
|
@ -88,8 +95,9 @@ public class TRId implements Serializable {
|
||||||
viewTable = false;
|
viewTable = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public TRId(String id, TabResourceType tabResourceType, String tableTypeName,
|
public TRId(String id, TabResourceType tabResourceType,
|
||||||
String tableId, String tableType, String referenceTargetTableId, boolean viewTable) {
|
String tableTypeName, String tableId, String tableType,
|
||||||
|
String referenceTargetTableId, boolean viewTable) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.tableTypeName = tableTypeName;
|
this.tableTypeName = tableTypeName;
|
||||||
this.tableId = tableId;
|
this.tableId = tableId;
|
||||||
|
@ -105,8 +113,7 @@ public class TRId implements Serializable {
|
||||||
public void setId(String id) {
|
public void setId(String id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TabResourceType getTabResourceType() {
|
public TabResourceType getTabResourceType() {
|
||||||
return tabResourceType;
|
return tabResourceType;
|
||||||
}
|
}
|
||||||
|
@ -175,7 +182,4 @@ public class TRId implements Serializable {
|
||||||
+ referenceTargetTableId + ", viewTable=" + viewTable + "]";
|
+ referenceTargetTableId + ", viewTable=" + viewTable + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue