Create new sample Business Entity record
Vector businessEntities = new Vector();
BusinessEntity businessEntity = new BusinessEntity("", "Acme Parts");
// Set Business Description
businessEntity.setDefaultDescriptionString
("Maker of fine semiconductor parts");
// Set Contact Name and Email
Contact contact = new Contact ("Ethan Cerami");
Email email = new Email("cerami@cs.nyu.edu");
Vector emailVector = new Vector();
emailVector.addElement(email);
contact.setEmailVector(emailVector);
Contacts contacts = new Contacts();
Vector contactVector = new Vector();
contactVector.addElement(contact);
contacts.setContactVector(contactVector);
businessEntity.setContacts(contacts);
return businessEntity;