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