Class Student

java.lang.Object
  extended by Student

public class Student
extends java.lang.Object

Creates a student.

Author:
nossl

Constructor Summary
Student(java.lang.String name, java.lang.String YOG, java.util.ArrayList<Book> stBooks, java.util.ArrayList<Courses> stCourses, java.lang.String address, Contacts stContact)
          Normal Constructor.
 
Method Summary
 java.lang.String getAddress()
          Gets the Address of the student.
 java.lang.String getName()
          Gets the name of the Student.
 java.util.ArrayList<Book> getStBooks()
          Gets the list of books out for classes.
 Contacts getStContact()
          Gets the student contact information.
 java.util.ArrayList<Courses> getStCourses()
          Gets the list of courses the student is currently taking.
 java.lang.String getYOG()
          Gets the year of graduation.
 void setAddress(java.lang.String address)
          Sets the address of the student.
 void setName(java.lang.String name)
          Sets the name of the student.
 void setStBooks(java.util.ArrayList<Book> stBooks)
          Sets the list of books out for classes.
 void setStContact(Contacts stContact)
          Sets the Student Contact information.
 void setStCourses(java.util.ArrayList<Courses> stCourses)
          Sets the list of courses the student is currently taking.
 void setYOG(java.lang.String yOG)
          Sets the year of graduation
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Student

public Student(java.lang.String name,
               java.lang.String YOG,
               java.util.ArrayList<Book> stBooks,
               java.util.ArrayList<Courses> stCourses,
               java.lang.String address,
               Contacts stContact)
Normal Constructor.

Parameters:
name -
YOG -
stBooks -
stCourses -
address -
stContact -
Method Detail

getName

public java.lang.String getName()
Gets the name of the Student.

Returns:

setName

public void setName(java.lang.String name)
Sets the name of the student.

Parameters:
name -

getYOG

public java.lang.String getYOG()
Gets the year of graduation.

Returns:

setYOG

public void setYOG(java.lang.String yOG)
Sets the year of graduation

Parameters:
yOG -

getStBooks

public java.util.ArrayList<Book> getStBooks()
Gets the list of books out for classes.

Returns:

setStBooks

public void setStBooks(java.util.ArrayList<Book> stBooks)
Sets the list of books out for classes.

Parameters:
stBooks -

getStCourses

public java.util.ArrayList<Courses> getStCourses()
Gets the list of courses the student is currently taking.

Returns:

setStCourses

public void setStCourses(java.util.ArrayList<Courses> stCourses)
Sets the list of courses the student is currently taking.

Parameters:
stCourses -

getAddress

public java.lang.String getAddress()
Gets the Address of the student.

Returns:

setAddress

public void setAddress(java.lang.String address)
Sets the address of the student.

Parameters:
address -

getStContact

public Contacts getStContact()
Gets the student contact information.

Returns:

setStContact

public void setStContact(Contacts stContact)
Sets the Student Contact information.

Parameters:
stContact -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object