pspec.setParameterName("fred");
pspec.setAliases("barney");
Location l = newLocation();
BindingSpecification bspec = new BindingSpecification();
bspec.setType(BindingType.PREFIXED);
bspec.setValue("an-expression");
bspec.setLocation(l);
ContainedComponent contained = new ContainedComponent();
contained.setBinding("barney", bspec);
contained.setType("FredComponent");