Updated Operation Result to contains TRId
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widget-common-event@111576 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
99d3455e88
commit
c0130f98e8
|
@ -14,7 +14,7 @@ public class OperationResult implements Serializable {
|
|||
private static final long serialVersionUID = 7612440231512398232L;
|
||||
|
||||
private TRId trId;
|
||||
private ArrayList<String> collateralTableIds;
|
||||
private ArrayList<TRId> collateralTRIds;
|
||||
|
||||
public OperationResult(){
|
||||
|
||||
|
@ -23,12 +23,12 @@ public class OperationResult implements Serializable {
|
|||
/**
|
||||
*
|
||||
* @param trId
|
||||
* @param collateralTableIds
|
||||
* @param collateralTRIds
|
||||
*/
|
||||
public OperationResult(TRId trId, ArrayList<String> collateralTableIds) {
|
||||
public OperationResult(TRId trId, ArrayList<TRId> collateralTRIds) {
|
||||
super();
|
||||
this.trId = trId;
|
||||
this.collateralTableIds = collateralTableIds;
|
||||
this.collateralTRIds = collateralTRIds;
|
||||
}
|
||||
|
||||
public TRId getTrId() {
|
||||
|
@ -39,20 +39,21 @@ public class OperationResult implements Serializable {
|
|||
this.trId = trId;
|
||||
}
|
||||
|
||||
public ArrayList<String> getCollateralTableIds() {
|
||||
return collateralTableIds;
|
||||
public ArrayList<TRId> getCollateralTRIds() {
|
||||
return collateralTRIds;
|
||||
}
|
||||
|
||||
public void setCollateralTableIds(ArrayList<String> collateralTableIds) {
|
||||
this.collateralTableIds = collateralTableIds;
|
||||
public void setCollateralTRIds(ArrayList<TRId> collateralTRIds) {
|
||||
this.collateralTRIds = collateralTRIds;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "OperationResult [trId=" + trId + ", collateralTableIds="
|
||||
+ collateralTableIds + "]";
|
||||
return "OperationResult [trId=" + trId + ", collateralTRIds="
|
||||
+ collateralTRIds + "]";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue