Added Automatically Attach codelist

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@111503 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-01-27 18:10:54 +00:00
parent 42af892cce
commit 22e8934e56
1 changed files with 25 additions and 13 deletions

View File

@ -19,21 +19,25 @@ import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
public class ExtractCodelistSession implements Serializable {
private static final long serialVersionUID = -2537172740573310646L;
protected TRId trId;
protected TabResource tabResource;
protected ArrayList<ColumnData> sourceColumns;
protected ArrayList<ExtractCodelistTargetColumn> targetColumns;
private TRId trId;
private TabResource tabResource;
private ArrayList<ColumnData> sourceColumns;
private ArrayList<ExtractCodelistTargetColumn> targetColumns;
private boolean automaticallyAttach;
public ExtractCodelistSession() {
}
public ExtractCodelistSession(TRId trId, TabResource tabResource,ArrayList<ColumnData> sourceColumns,
ArrayList<ExtractCodelistTargetColumn> targetColumns) {
this.trId=trId;
this.tabResource= tabResource;
public ExtractCodelistSession(TRId trId, TabResource tabResource,
ArrayList<ColumnData> sourceColumns,
ArrayList<ExtractCodelistTargetColumn> targetColumns,
boolean automaticallyAttach) {
this.trId = trId;
this.tabResource = tabResource;
this.sourceColumns = sourceColumns;
this.targetColumns = targetColumns;
this.automaticallyAttach = automaticallyAttach;
}
public ArrayList<ColumnData> getSourceColumns() {
@ -60,7 +64,7 @@ public class ExtractCodelistSession implements Serializable {
public void setTabResource(TabResource tabResource) {
this.tabResource = tabResource;
}
public TRId getTrId() {
return trId;
}
@ -68,16 +72,24 @@ public class ExtractCodelistSession implements Serializable {
public void setTrId(TRId trId) {
this.trId = trId;
}
public boolean isAutomaticallyAttach() {
return automaticallyAttach;
}
public void setAutomaticallyAttach(boolean automaticallyAttach) {
this.automaticallyAttach = automaticallyAttach;
}
@Override
public String toString() {
return "ExtractCodelistSession [trId=" + trId + ", tabResource="
+ tabResource + ", sourceColumns=" + sourceColumns
+ ", targetColumns=" + targetColumns + "]";
+ ", targetColumns=" + targetColumns + ", automaticallyAttach="
+ automaticallyAttach + "]";
}
}