transform.setUser(calculatePattern);
transform.setUser(g.getCallPattern(calculatePattern));
    public Transform[] getTransforms() {        final String calculatePattern = getCallPattern().calculatePattern();        List gateways = getGateways();        Transform[] transforms;        if (gateways.isEmpty()) {            FullTransform transform = new FullTransform();            transform.setUser(calculatePattern);            transforms = new Transform[] {                transform            };        } else {            transforms = new Transform[gateways.size()];            ForkQueueValue q = new ForkQueueValue(gateways.size());            for (int i = 0; i < transforms.length; i++) {                Gateway g = (Gateway) gateways.get(i);                FullTransform transform = new FullTransform();                transform.setHost(g.getAddress());                transform.setUser(calculatePattern);                String[] fieldParams = new String[] {                    q.getSerial()                };                transform.setFieldParams(fieldParams);                transforms[i] = transform;            }        }        return transforms;    }