@@ -0,0 +1,2554 @@
+/*%0A * Copyright (c) 2014 Personal-Health-Monitoring-System%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 * %09http://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 */%0A%0Apackage com.cse3310.phms.model;%0A%0Aimport com.activeandroid.Model;%0Aimport com.activeandroid.annotation.Column;%0Aimport com.activeandroid.annotation.Table;%0A%0A@Table(name = %22Doctor%22)%0Apublic class Doctor extends Model %7B%0A    @Column private String hospital;%0A    @Column private String address;%0A    @Column private Info contactInfo;%0A%0A    /**%0A     * Instantiates a new Doctor.%0A     */%0A    public Doctor() %7B%7D%0A%0A    /**%0A     * Instantiates a new Doctor.%0A     *%0A     * @param hospital the hospital%0A     * @param address the address%0A     * @param contactInfo the contact info%0A     */%0A    public Doctor(String hospital, String address, Info contactInfo) %7B%0A        this.hospital = hospital;%0A        this.address = address;%0A        this.contactInfo = contactInfo;%0A    %7D%0A%0A    /**%0A     * Gets hospital name.%0A     *%0A     * @return the hospital name%0A     */%0A    public String getHospital() %7B%0A        return hospital;%0A    %7D%0A%0A    /**%0A     * Sets hospital name.%0A     *%0A     * @param hospital the hospital name%0A     * @return the this doctor object%0A     */%0A    public Doctor setHospital(String hospital) %7B%0A        this.hospital = hospital;%0A        return this;%0A    %7D%0A%0A    /**%0A     * Gets address of the hospital.%0A     *%0A     * @return the address%0A     */%0A    public String getAddress() %7B%0A        return address;%0A    %7D%0A%0A    /**%0A     * Sets address of the hospital.%0A     *%0A     * @param address the address%0A     * @return the this doctor object%0A     */%0A    public Doctor setAddress(String address) %7B%0A        this.address = address;%0A        return this;%0A    %7D%0A%0A    /**%0A     * Gets contact info.%0A     *%0A     * @return the contact info%0A     */%0A    public Info getContactInfo() %7B%0A        return contactInfo;%0A    %7D%0A%0A    /**%0A     * Sets contact info.%0A     *%0A     * @param contactInfo the contact info%0A     * @return the this doctor object%0A     */%0A    public Doctor setContactInfo(Info contactInfo) %7B%0A        this.contactInfo = contactInfo;%0A        return this;%0A    %7D%0A%7D%0A

Add Doctor class.