Programming with Partially Specified Aggregates in Java