com.stringsandints.inventium.khlrooster.data
Class LessonHour

java.lang.Object
  extended by com.stringsandints.inventium.khlrooster.data.LessonHour

public class LessonHour
extends java.lang.Object

LessonHour represents the lesson with its lessonHourId, the start and end of the lesson and memo's.


Field Summary
private  java.util.GregorianCalendar end
           
private  java.util.ArrayList<java.lang.String> imgLinks
           
private  Lesson lesson
           
private  int lessonHourId
           
private  java.lang.String location
           
private  java.lang.String memo
           
private  java.util.GregorianCalendar start
           
 
Constructor Summary
LessonHour()
           
LessonHour(int lessnHourId, Lesson lesson, java.util.GregorianCalendar start, java.util.GregorianCalendar end, java.lang.String memo, java.lang.String location)
           
LessonHour(Lesson lesson, java.util.GregorianCalendar start, java.util.GregorianCalendar end, java.lang.String memo, java.lang.String location)
           
 
Method Summary
 void addImageLink(java.lang.String link)
           
 boolean equals(LessonHour lh)
           
 java.lang.String getClassroom()
           
 java.lang.String getDepartment()
           
 java.util.GregorianCalendar getEnd()
           
 java.util.ArrayList<java.lang.String> getImgLinks()
           
 Lesson getLesson()
           
 int getLessonHourId()
          Getters & setters
 java.lang.String getLocation()
           
 java.lang.String getMemo()
           
 java.util.GregorianCalendar getStart()
           
protected  void setEnd(java.util.GregorianCalendar end)
           
 void setImgLinks(java.util.ArrayList<java.lang.String> imgLinks)
           
private  void setLesson(Lesson lesson)
           
private  void setLessonHourId(int lessonHourId)
           
 void setLocation(java.lang.String location)
           
 void setMemo(java.lang.String memo)
           
protected  void setStart(java.util.GregorianCalendar start)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lessonHourId

private int lessonHourId

lesson

private Lesson lesson

start

private java.util.GregorianCalendar start

end

private java.util.GregorianCalendar end

memo

private java.lang.String memo

location

private java.lang.String location

imgLinks

private java.util.ArrayList<java.lang.String> imgLinks
Constructor Detail

LessonHour

public LessonHour(int lessnHourId,
                  Lesson lesson,
                  java.util.GregorianCalendar start,
                  java.util.GregorianCalendar end,
                  java.lang.String memo,
                  java.lang.String location)

LessonHour

public LessonHour(Lesson lesson,
                  java.util.GregorianCalendar start,
                  java.util.GregorianCalendar end,
                  java.lang.String memo,
                  java.lang.String location)

LessonHour

public LessonHour()
Method Detail

toString

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

getLessonHourId

public int getLessonHourId()
Getters & setters


setLessonHourId

private void setLessonHourId(int lessonHourId)

getLesson

public Lesson getLesson()

setLesson

private void setLesson(Lesson lesson)

getStart

public java.util.GregorianCalendar getStart()

setStart

protected void setStart(java.util.GregorianCalendar start)

getEnd

public java.util.GregorianCalendar getEnd()

setEnd

protected void setEnd(java.util.GregorianCalendar end)

getMemo

public java.lang.String getMemo()

setMemo

public void setMemo(java.lang.String memo)

setLocation

public void setLocation(java.lang.String location)

getLocation

public java.lang.String getLocation()

getDepartment

public java.lang.String getDepartment()

getClassroom

public java.lang.String getClassroom()

getImgLinks

public java.util.ArrayList<java.lang.String> getImgLinks()

setImgLinks

public void setImgLinks(java.util.ArrayList<java.lang.String> imgLinks)

addImageLink

public void addImageLink(java.lang.String link)

equals

public boolean equals(LessonHour lh)