Minor updated
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@86368 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d3345caa7a
commit
5df4cf4997
|
@ -212,7 +212,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
|
||||
} else {
|
||||
ColumnData cData = new ColumnData();
|
||||
cData.setId(i);
|
||||
cData.setId(Integer.toString(i));
|
||||
cData.setName(c.getName());
|
||||
cData.setTypeCode(c.getColumnType().getCode());
|
||||
cData.setTypeName(c.getColumnType().getName());
|
||||
|
@ -411,7 +411,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
String.valueOf(tableId.getValue()));
|
||||
}
|
||||
|
||||
TabResource t = new TabResource(i, nameTR, descriptionTR, agencyTR,
|
||||
TabResource t = new TabResource(String.valueOf(i), nameTR, descriptionTR, agencyTR,
|
||||
dateS, rightsTR, trId);
|
||||
return t;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ public class ColumnData implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 7614033455605898209L;
|
||||
|
||||
protected int id; // For insert in table only
|
||||
protected String id; // For insert in table only
|
||||
protected String name;
|
||||
protected String typeName;
|
||||
protected String typeCode;
|
||||
|
@ -50,11 +50,11 @@ public class ColumnData implements Serializable {
|
|||
this.trId = trId;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ public class TabResource implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = -8353499109124097114L;
|
||||
|
||||
protected int id;
|
||||
protected String id;
|
||||
protected String name;
|
||||
protected String description;
|
||||
protected String agency;
|
||||
|
@ -27,7 +27,7 @@ public class TabResource implements Serializable {
|
|||
|
||||
public TabResource(){}
|
||||
|
||||
public TabResource(int id, String name, String description,String agency, String date, String right, TRId trId){
|
||||
public TabResource(String id, String name, String description,String agency, String date, String right, TRId trId){
|
||||
this.id=id;
|
||||
this.name=name;
|
||||
this.description=description;
|
||||
|
@ -37,11 +37,11 @@ public class TabResource implements Serializable {
|
|||
this.trId=trId;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ public class TableData implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = -6248251038277538555L;
|
||||
|
||||
protected int id; // For insert in table only
|
||||
protected String id; // For insert in table only
|
||||
protected String name;
|
||||
protected String typeName;
|
||||
protected String typeCode;
|
||||
|
@ -70,11 +70,11 @@ public class TableData implements Serializable {
|
|||
this.metaData = metaData;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue