can you give access to members of a class in a sub package to a class in it's parent package
Posted on 2004-09-20
If I have a class in a package
which instantiates a class from a sub package
is there a way to give the top package permission to the instanced classes members
without making them public, in other words can you grant permission into a package for another
package if it's a parent package?
The sub package has many, many data members
and it doesn't seem reasonable to make getter functions for each one, but maybe that is what I must do,
if I don't want to just make it public?