59 lines
1.1 KiB
Java
59 lines
1.1 KiB
Java
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 + "]";
|
|
}
|
|
|
|
|
|
|
|
}
|