// Copyright 1997 Object UK Ltd.
// Author Andrew Carmichael
// Updated Tim Shelley
//
// Date
// Version 0.2
// Email: objectuk@objectuk.co.uk
// Web: http://www.objectuk.co.uk
package ProblemDomain;
// Generated by Together/J
//import java.util.*;
public class Marriage extends ProblemDomain.LifeEvent {
// CONSTRUCTORS
public Marriage() {
}
/** Note: this constructor uses Date not Calendar */
public Marriage(String date, String place, String comments) {
super(date, place, comments);
}
public String getTextRecordIdentifier() {
return "MARR";}
// TEST OBJECT
public static Marriage testObject(){
return new Marriage ("2/8/1980", "St Pauls Cathredral, London", "A sunny day!");
}
}
|