1.1 Airline Learning Activity

Airline 1.1: Create an Object Diagram Showing Objects and References

Create one object diagram in Violet showing the Airline snapshot below. Add the six instance boxes, enter their values, and connect their reference fields to the correct objects. Read the supplied C# or requirements to build the diagrams; submit Violet diagrams rather than a C# project.

Copy exact diagram text from the literal spans without typing their surrounding markers. Put relationship names on connecting lines and branch conditions on arrows. Identify the two gate objects by the values and reference paths below. The object headings are exactly Airline, Airport, Jet, Terminal, and Gate|Number on each of the two gate boxes. The vertical bar is part of each gate heading; it is not a reference line. Keep Number as a separate field inside each gate.

1.Read the Airline snapshot requirements

AeroWisco has 12 employees. Its Airport is CWA, which has 10 employees and one MainTerminal. Its Airplane is one Jet named Spirit of the Forest, model 319, manufactured by Airbus, with length 33.84 meters. MainTerminal has GateA and GateB. GateA has Number 3A, HasSkyway true, and PlaneSideCheckLuggage false. GateB has Number 3B, HasSkyway false, and PlaneSideCheckLuggage true.

Model this one moment. These reference fields connect the six existing instances: Airline.Airport, Airline.Airplane, Airport.MainTerminal, Terminal.GateA, and Terminal.GateB. The references are not extra copies of their targets. Do not add a gate-to-jet reference yet; that shared reference is introduced in Airline 1.6.

2.Create the object diagram
A Create six instance boxes with these exact headers

Airline

Airport

Jet

Terminal

Gate|Number

Gate|Number

B Enter the Airline values and reference fields

Inside the Airline box, enter Name = AeroWisco and EmployeeCount = 12. Add reference fields named Airport and Airplane. Leave their value areas blank and use outgoing reference arrows.

C Enter the Airport values and terminal reference

Inside Airport, enter Name = CWA and Employees = 10. Add reference field MainTerminal.

D Enter the four Jet values

Inside Jet, enter Name = Spirit of the Forest, Model = 319, Manufacturer = Airbus, and LengthInMeters = 33.84. Model 319 is text in the later class design, even though its value looks numeric.

E Enter the Terminal reference fields and Gate values

Inside Terminal, add GateA and GateB. In the Gate|Number box reached through GateA, enter Number = 3A, HasSkyway = true, and PlaneSideCheckLuggage = false. In the other Gate|Number box, reached through GateB, use Number = 3B, HasSkyway = false, and PlaneSideCheckLuggage = true. Enter field names and values in Violet's separate areas; text values do not need surrounding quotation marks in those value areas.

F Arrange each object's field rows

Use this top-to-bottom order inside each box: Airline has Airplane, Airport, EmployeeCount, Name; Airport has MainTerminal, Name, Employees; Jet has LengthInMeters, Model, Manufacturer, Name; Terminal has GateA, GateB. Each gate has HasSkyway, Number, PlaneSideCheckLuggage.

G Draw all five object references from their owning field entries

Use Violet's Object reference (from field) tool. Connect Airline's Airport field to the Airport box whose Name is CWA. Connect Airline's Airplane field to the Jet whose Name is Spirit of the Forest. Connect Airport's MainTerminal field to Terminal, then connect Terminal's GateA and GateB fields to their matching gate objects. Start each arrow at its field, not just at the box border.

H Verify six objects and five references

Every simple value belongs to the object it describes. There are two gate instances, each headed Gate|Number. No class definitions, methods, or process nodes are needed.

Save and Submit
3.Save, check, and submit your diagrams
A Save the required Violet diagram files

Submit one object diagram. Use Airline 1.1 LastName as the base filename, replacing LastName with your last name. For multiple diagrams of the same type, add a short scenario label to distinguish them. Keep Violet's generated .violet.html extension and diagram-type suffix.

B Check scope, labels, and paths before packaging

Check every exact label, field type, direction, multiplicity, value, and reference target against this page. Open the saved files in Violet and inspect for missing connections, unreadable crossings, or clipped text.

C ZIP the saved diagram files

Put the diagram files at the ZIP root, not inside another folder. Name the archive Airline 1.1 LastName.zip. Do not include C# snippets, unrelated assignments, or instructor reference files.

D Submit the ZIP to the Feedback System

Use the matching Airline activity. Review the feedback, correct your diagrams, save, rebuild the ZIP, and resubmit as needed.

E Submit the resulting feedback URL to Canvas

Paste the resulting URL into the matching Canvas assignment. Keep your editable Violet files for later work.