classification.accept(new Visitor()
{
@Override
public void visit(Classification classification, Assignment assignment)
{
InvestmentVehicle vehicle = assignment.getInvestmentVehicle();
if (vehicle instanceof Security)
addSecurity(pseudoClient, client, (Security) vehicle, assignment.getWeight());
else if (vehicle instanceof Account)
addAccount(pseudoClient, (Account) vehicle, assignment.getWeight());