use of org.openforis.collect.remoting.service.NodeUpdateRequest.ErrorConfirmRequest in project collect by openforis.
the class ConfirmErrorRequestProxy method toNodeUpdateRequest.
@Override
public ErrorConfirmRequest toNodeUpdateRequest(CollectRecord record) {
ErrorConfirmRequest opts = new NodeUpdateRequest.ErrorConfirmRequest();
Attribute<?, ?> attribute = (Attribute<?, ?>) record.getNodeByInternalId(nodeId);
opts.setAttribute(attribute);
return opts;
}
Aggregations