public Generator()
 {
     fieldGeneratorAirline      = new AirlineJSON.HoldingGenerator("field \"Airline\" of the AirlineFlightNumber class", false);
     fieldGeneratorFlightNumber = new FieldHoldingGeneratorFlightNumber("field \"FlightNumber\" of the AirlineFlightNumber class");
     unknownFieldGenerator      = new UnknownFieldGenerator(false);
     set_what("the AirlineFlightNumber class");
     allow_incomplete = false;
     allow_unpolished = false;
 }
Пример #2
0
 public Generator()
 {
     fieldGeneratorFlightSegmentID     = new JSONHoldingStringGenerator("field \"FlightSegmentID\" of the FlightSegment class");
     fieldGeneratorDepartureAirport    = new FlightTravelLocationJSON.HoldingGenerator("field \"DepartureAirport\" of the FlightSegment class", false);
     fieldGeneratorArrivalAirport      = new FlightTravelLocationJSON.HoldingGenerator("field \"ArrivalAirport\" of the FlightSegment class", false);
     fieldGeneratorDepartureDateTime   = new FlightTimesJSON.HoldingGenerator("field \"DepartureDateTime\" of the FlightSegment class", false);
     fieldGeneratorArrivalDateTime     = new FlightTimesJSON.HoldingGenerator("field \"ArrivalDateTime\" of the FlightSegment class", false);
     fieldGeneratorAirlineFlightNumber = new AirlineFlightNumberJSON.HoldingGenerator("field \"AirlineFlightNumber\" of the FlightSegment class", false);
     fieldGeneratorOperatingCarrier    = new AirlineJSON.HoldingGenerator("field \"OperatingCarrier\" of the FlightSegment class", false);
     fieldGeneratorFlightDuration      = new JSONHoldingNumberTextGenerator("field \"FlightDuration\" of the FlightSegment class");
     unknownFieldGenerator             = new UnknownFieldGenerator(false);
     set_what("the FlightSegment class");
     allow_incomplete = false;
     allow_unpolished = false;
 }