Added Table information

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@85689 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-11-19 12:58:21 +00:00
parent 0e13cd4a95
commit 6a7bec4949
2 changed files with 116 additions and 0 deletions

View File

@ -0,0 +1,52 @@
package org.gcube.portlets.user.td.gwtservice.shared;
import java.io.Serializable;
/**
*
* @author "Giancarlo Panichi"
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
*/
public class ColumnData implements Serializable {
private static final long serialVersionUID = 7614033455605898209L;
protected String name;
protected String typeName;
protected String typeCode;
protected TRId trId;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getTypeName() {
return typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName;
}
public String getTypeCode() {
return typeCode;
}
public void setTypeCode(String typeCode) {
this.typeCode = typeCode;
}
public TRId getTrId() {
return trId;
}
public void setTrId(TRId trId) {
this.trId = trId;
}
@Override
public String toString() {
return "ColumnData [name=" + name + ", typeName=" + typeName
+ ", typeCode=" + typeCode + ", trId=" + trId + "]";
}
}

View File

@ -0,0 +1,64 @@
package org.gcube.portlets.user.td.gwtservice.shared;
import java.io.Serializable;
import java.util.ArrayList;
/**
*
* @author "Giancarlo Panichi"
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
*/
public class TableData implements Serializable {
private static final long serialVersionUID = -6248251038277538555L;
protected String name;
protected String typeName;
protected String typeCode;
protected ArrayList<ColumnData> listColumnData;
protected TRId trId;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getTypeName() {
return typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName;
}
public String getTypeCode() {
return typeCode;
}
public void setTypeCode(String typeCode) {
this.typeCode = typeCode;
}
public ArrayList<ColumnData> getListColumnData() {
return listColumnData;
}
public void setListColumnData(ArrayList<ColumnData> listColumnData) {
this.listColumnData = listColumnData;
}
public TRId getTrId() {
return trId;
}
public void setTrId(TRId trId) {
this.trId = trId;
}
@Override
public String toString() {
return "TableData [name=" + name + ", typeName="
+ typeName + ", typeCode=" + typeCode + ", lColumnData="
+ listColumnData + ", trId=" + trId + "]";
}
}