/** * Build up this event with a type. * * @param type The type of the event. * @return this. */ public Event type(org.gedcomx.types.EventType type) { setKnownType(type); return this; }
/** * Create an event with the passed in type and values. * * @param EventType the event type. */ public Event(EventType EventType) { setKnownType(EventType); }
/** * Create a date/place event with the passed in type and values. * * @param EventType the event type. * @param date The date of applicability of this event. * @param place The place of applicability of this event. */ public Event(EventType EventType, Date date, PlaceReference place) { setKnownType(EventType); setDate(date); setPlace(place); }