From: Erik V. <eri...@hc...> - 2005-04-29 22:19:20
|
> >As for its attributes, I'm considering to replace "share" (the > >percentage of ownership) by "shares" (the number of shares). > >I've already added an attribute "shareUnit" to PublicCompany > >(which is the percentage of ownership of "one share"). > >Of course: "share" = "shares" * "shareUnit". > > Good call. This is much more scalable. OK, done that. The CompanyMamager.xml files have also been updated. Certificate now has 2 share-getters: getShares(), which gives the value of "shares" defined above, and getShare(), which returns shares * shareUnit. It works for me, but could not check your version. Please check correct display of the share values! Erik. |