function cl_warenkorb_person_getVorname() {
  return this.vorname;
}

function cl_warenkorb_person_getNachname() {
  return this.nachname
}

function cl_warenkorb_person_getStrasse() {
  return this.strasse;
}

function cl_warenkorb_person_getOrt() {
  return this.ort;
}

function cl_warenkorb_person_getLand() {
  return this.land;
}

function cl_warenkorb_person_getTelefon() {
  return this.telefon;
}

function cl_warenkorb_person_getFax() {
  return this.fax;
}

function cl_warenkorb_person_getEmail() {
  return this.email;
}

function cl_warenkorb_person_setVorname(vorname) {
  this.vorname = vorname;
}

function cl_warenkorb_person_setNachname(nachname) {
  this.nachname = nachname;
}

function cl_warenkorb_person_setStrasse(strasse) {
  this.strasse = strasse;
}

function cl_warenkorb_person_setOrt(ort) {
  this.ort = ort;
}

function cl_warenkorb_person_setLand(land) {
  this.land = land;
}

function cl_warenkorb_person_setTelefon(telefon) {
  this.telefon = telefon;
}

function cl_warenkorb_person_setFax(fax) {
  this.fax = fax;
}

function cl_warenkorb_person_setEmail(email) {
  this.email = email;
}

function cl_warenkorb_person_printForm(myDoc) {
  myDoc.writeln('<INPUT TYPE="HIDDEN" NAME="wkPerson_nachname" VALUE="' + this.nachname + '">');
  myDoc.writeln('<INPUT TYPE="HIDDEN" NAME="wkPerson_vorname" VALUE="' + this.vorname + '">');
  myDoc.writeln('<INPUT TYPE="HIDDEN" NAME="wkPerson_strasse" VALUE="' + this.strasse + '">');
  myDoc.writeln('<INPUT TYPE="HIDDEN" NAME="wkPerson_ort" VALUE="' + this.ort + '">');
  myDoc.writeln('<INPUT TYPE="HIDDEN" NAME="wkPerson_land" VALUE="' + this.land + '">');
  myDoc.writeln('<INPUT TYPE="HIDDEN" NAME="wkPerson_telefon" VALUE="' + this.telefon + '">');
  myDoc.writeln('<INPUT TYPE="HIDDEN" NAME="wkPerson_fax" VALUE="' + this.fax + '">');
  myDoc.writeln('<INPUT TYPE="HIDDEN" NAME="wkPerson_email" VALUE="' + this.email + '">');
}

function cl_warenkorb_person(nachname, vorname, strasse, ort, land, telefon, fax, email) {
  // Attribute
  this.nachname = nachname;
  this.vorname = vorname;
  this.strasse = strasse;
  this.ort = ort;
  this.land = land;
  this.telefon = telefon;
  this.fax = fax;
  this.email = email;

  // Methoden
  this.getVorname = cl_warenkorb_person_getVorname;
  this.getNachname = cl_warenkorb_person_getNachname;
  this.getStrasse = cl_warenkorb_person_getStrasse;
  this.getOrt = cl_warenkorb_person_getOrt;
  this.getLand = cl_warenkorb_person_getLand;
  this.getTelefon = cl_warenkorb_person_getTelefon;
  this.getFax = cl_warenkorb_person_getFax;
  this.getEmail = cl_warenkorb_person_getEmail;

  this.setVorname = cl_warenkorb_person_setVorname;
  this.setNachname = cl_warenkorb_person_setNachname;
  this.setStrasse = cl_warenkorb_person_setStrasse;
  this.setOrt = cl_warenkorb_person_setOrt;
  this.setLand = cl_warenkorb_person_setLand;
  this.setTelefon = cl_warenkorb_person_setTelefon;
  this.setFax = cl_warenkorb_person_setFax;
  this.setEmail = cl_warenkorb_person_setEmail;

  this.printForm = cl_warenkorb_person_printForm;
}