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:
Giancarlo Panichi 2015-01-30 17:33:41 +00:00
parent 99d3455e88
commit c0130f98e8
1 changed files with 12 additions and 11 deletions

View File

@ -14,7 +14,7 @@ public class OperationResult implements Serializable {
private static final long serialVersionUID = 7612440231512398232L; private static final long serialVersionUID = 7612440231512398232L;
private TRId trId; private TRId trId;
private ArrayList<String> collateralTableIds; private ArrayList<TRId> collateralTRIds;
public OperationResult(){ public OperationResult(){
@ -23,12 +23,12 @@ public class OperationResult implements Serializable {
/** /**
* *
* @param trId * @param trId
* @param collateralTableIds * @param collateralTRIds
*/ */
public OperationResult(TRId trId, ArrayList<String> collateralTableIds) { public OperationResult(TRId trId, ArrayList<TRId> collateralTRIds) {
super(); super();
this.trId = trId; this.trId = trId;
this.collateralTableIds = collateralTableIds; this.collateralTRIds = collateralTRIds;
} }
public TRId getTrId() { public TRId getTrId() {
@ -39,20 +39,21 @@ public class OperationResult implements Serializable {
this.trId = trId; this.trId = trId;
} }
public ArrayList<String> getCollateralTableIds() { public ArrayList<TRId> getCollateralTRIds() {
return collateralTableIds; return collateralTRIds;
} }
public void setCollateralTableIds(ArrayList<String> collateralTableIds) { public void setCollateralTRIds(ArrayList<TRId> collateralTRIds) {
this.collateralTableIds = collateralTableIds; this.collateralTRIds = collateralTRIds;
} }
@Override @Override
public String toString() { public String toString() {
return "OperationResult [trId=" + trId + ", collateralTableIds=" return "OperationResult [trId=" + trId + ", collateralTRIds="
+ collateralTableIds + "]"; + collateralTRIds + "]";
} }
} }