AggregateObjectMapping mapping = (AggregateObjectMapping)object;
Vector associations = mapping.getAggregateToSourceFieldNameAssociations();
Vector translations = new Vector(associations.size());
for (int index = 0; index < associations.size(); index++) {
Association association = (Association)associations.get(index);
FieldTranslation translation = new FieldTranslation();
translation.setKey(new DatabaseField((String)association.getKey()));
translation.setValue(new DatabaseField((String)association.getValue()));
translations.add(translation);
}
return translations;
}