insureds is a private member variable of your class Company. Because it is private, it's only visible inside that class. What you can do is add a getter method to class Company, and call that from class CoverageReport. But note that there you will need to have a Company object to call the method on. For example:
Continuing with this project, I am now trying to get information from a Class called Coverage.
As I mentioned earlier, this project uses a MAP of Insureds, which contains a SET of Coverages, which in turn contains a SET of Products. Inside Class: Coverage, there is a METHOD called: totalProductCost that iterates through the SET of products and accumulates the cost of the products for each coverage.
What I am trying to do in a Class called "CoverageReport" is to "Drill-down" into Class: Coverage to get at this Method.
In the Java class I'm taking, we learned how to access collection data on a single level, but not how to "drill-down" into multiple levels.
Any chance for SSCCE? I see so much text with so little info. TellTheDetails! How would you describe 'drill-down'? How is your class CoverageReport related to Coverage ... is that where you're maintaining a Map of Coverage objects?
Censorship is the younger of two shameful sisters, the older one bears the name inquisition. -- Johann Nepomuk Nestroy
subject: Iterating through a MAP that is in a different class.