@javax.jdo.annotations.PersistenceCapable public class Laptop { String modelName; // key int price; // in dollars boolean hasHDScreen; // has a high-definition screen? int hardDriveCapacity; // in GB Processor processor; // the preinstalled processor Memory memory; // the preinstalled memory Company madeBy; // the inverse of Company.makeLaptops public String toString() { return madeBy.name+" "+modelName+"; "+ processor.toString()+"; "+ memory.toString(); } }