org.surfnet.oaaas.example.api.domain
Class University

java.lang.Object
  extended by org.surfnet.oaaas.example.api.domain.University

public class University
extends Object

Root domain object for our dummy API


Constructor Summary
University()
           
 
Method Summary
 List<Course> getCourses()
           
 String getName()
           
 List<Student> getStudents()
           
 void setCourses(List<Course> courses)
           
 void setName(String name)
           
 void setStudents(List<Student> students)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

University

public University()
Method Detail

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getStudents

public List<Student> getStudents()
Returns:
the students

setStudents

public void setStudents(List<Student> students)
Parameters:
students - the students to set

getCourses

public List<Course> getCourses()
Returns:
the courses

setCourses

public void setCourses(List<Course> courses)
Parameters:
courses - the courses to set


Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.