@@ -0,0 +1,2092 @@
+// Copyright 2019 Google LLC%0A//%0A// Licensed under the Apache License, Version 2.0 (the %22License%22);%0A// you may not use this file except in compliance with the License.%0A// You may obtain a copy of the License at%0A//%0A//     https://www.apache.org/licenses/LICENSE-2.0%0A//%0A// Unless required by applicable law or agreed to in writing, software%0A// distributed under the License is distributed on an %22AS IS%22 BASIS,%0A// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A// See the License for the specific language governing permissions and%0A// limitations under the License.%0A%0Apackage com.google.sps.data;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Arrays;%0Aimport java.util.List;%0Aimport java.util.LinkedList;%0A%0A/**%0A * Keeps track of a student's information, which includes their name, email, topics they%0A * are learning, and tutoring sessions they have scheduled.%0A * Student connects to the overarching database as a list of Students inside the database. %0A */%0Apublic final class Student %7B%0A    %0A    private String name;%0A    private String email;%0A    private String%5B%5D learning;%0A    private TutorSession%5B%5D scheduledSessions;%0A%0A    public Student(String name, String email, String%5B%5D learning, TutorSession%5B%5D scheduledSessions) %7B%0A        this.name = name;%0A        this.email = email;%0A        this.learning = learning;%0A        this.scheduledSessions = scheduledSessions;%0A    %7D%0A%0A    public String getName() %7B%0A        return this.name;%0A    %7D%0A%0A    public String getEmail() %7B%0A        return this.email;%0A    %7D%0A%0A    public String%5B%5D getLearning() %7B%0A        return this.learning;%0A    %7D%0A%0A    public TutorSession%5B%5D getScheduledSessions() %7B%0A        return this.scheduledSessions;%0A    %7D%0A%0A    /** Adds the given Tutor Session to the scheduledSessions array. */%0A    public void addToScheduledSessions(TutorSession tutoringSession) %7B%0A        List%3CTutorSession%3E scheduledSessionsList = new LinkedList%3CTutorSession%3E(Arrays.asList(this.scheduledSessions));%0A        scheduledSessionsList.add(tutoringSession);%0A        this.scheduledSessions = scheduledSessionsList.toArray(new TutorSession%5B0%5D);%0A    %7D%0A%0A%7D%0A

Create the student object class.