/** * Override this to open the main file. * <p />You should pass this record owner to the new main file (ie., new MyNewTable(thisRecordOwner)). * @return The new record. */ public Record openMainRecord() { return new BookingPax(this); } /**
/** * Override this to open the main file. * <p />You should pass this record owner to the new main file (ie., new MyNewTable(thisRecordOwner)). * @return The new record. */ public Record openMainRecord() { return new BookingPax(this); } /**
/** * Override this to open the main file. * <p />You should pass this record owner to the new main file (ie., new MyNewTable(thisRecordOwner)). * @return The new record. */ public Record openMainRecord() { return new BookingPax(this); } /**
/** * Get (or make) the current record for this reference. */ public Record makeReferenceRecord(RecordOwner recordOwner) { return new BookingPax(recordOwner); } /**
/** * Override this to Setup all the records for this query. * Only used for querys and abstract-record queries. * Actually adds records not tables, but the records aren't physically * added here, the record's tables are added to my table. * @param The recordOwner to pass to the records that are added. * @see addTable. */ public void addTables(RecordOwner recordOwner) { this.addTable(new Booking(recordOwner)); this.addTable(new Tour(recordOwner)); this.addTable(new BookingPax(recordOwner)); //this.setGridFile(bkBooking, Booking.BOOKING_DATE_KEY); } /**
BookingPax recBookingPax = new BookingPax(this.findRecordOwner()); try { recBookingPax.addListener(new SubFileFilter(this));
m_recBookingPax = new BookingPax(this); if (m_recBookingPax.getField(BookingPax.ID).isNull()) m_recBookingPax.getField(BookingPax.ID).setValue(0);
if (recBookingPax == null) recBookingPax = new BookingPax(this.findRecordOwner()); recBookingPaxNew = (BookingPax)recBookingPax;
recBookingAnswer = new BookingAnswer(this.findRecordOwner()); TourHeader recTourHeader = (TourHeader)((ReferenceField)recTour.getField(Tour.TOUR_HEADER_ID)).getReference(); BookingPax recBookingPax = new BookingPax(this.findRecordOwner()); recBookingPax.getField(BookingPax.ID).setValue(0); recTourHeaderPricing = new TourHeaderLine(this.findRecordOwner());