question: private ResourceImpl aggregate ( ResourceImpl resourceA , ResourceImpl resourceB ) throws NotFoundException { final String typeId = resourceA . getType ( ) ; final ResourceType resourceType = getResourceType ( typeId ) ; return resourceType . aggregate ( resourceA , resourceB ) ; }
target:  Aggregates two resources which have the same type.