Added OperationResult
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widget-common-event@111534 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
bf344cbfc1
commit
99d3455e88
|
@ -0,0 +1,58 @@
|
|||
package org.gcube.portlets.user.td.widgetcommonevent.shared;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author giancarlo
|
||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||
*
|
||||
*/
|
||||
public class OperationResult implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 7612440231512398232L;
|
||||
|
||||
private TRId trId;
|
||||
private ArrayList<String> collateralTableIds;
|
||||
|
||||
public OperationResult(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param trId
|
||||
* @param collateralTableIds
|
||||
*/
|
||||
public OperationResult(TRId trId, ArrayList<String> collateralTableIds) {
|
||||
super();
|
||||
this.trId = trId;
|
||||
this.collateralTableIds = collateralTableIds;
|
||||
}
|
||||
|
||||
public TRId getTrId() {
|
||||
return trId;
|
||||
}
|
||||
|
||||
public void setTrId(TRId trId) {
|
||||
this.trId = trId;
|
||||
}
|
||||
|
||||
public ArrayList<String> getCollateralTableIds() {
|
||||
return collateralTableIds;
|
||||
}
|
||||
|
||||
public void setCollateralTableIds(ArrayList<String> collateralTableIds) {
|
||||
this.collateralTableIds = collateralTableIds;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "OperationResult [trId=" + trId + ", collateralTableIds="
|
||||
+ collateralTableIds + "]";
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue