java.lang.Object
com.prog3.ipt.Model.LineRide.Notice
Notice is a class represents a user notice stored into system's database
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()private voidprivate voidsetNoticeDate(LocalDate date) private voidsetNoticeID(String noticeID) private voidsetNoticeName(String noticeName) private voidsetNoticeText(String text) private voidtoString() 
- 
Field Details
- 
noticeID
 - 
noticeDate
 - 
noticeName
 - 
noticeText
 - 
rideID
 - 
lineID
 
 - 
 - 
Constructor Details
- 
Notice
public Notice(String noticeID, LocalDate date, String noticeName, String text, String rideID, String lineID) Notice constructor- Parameters:
 noticeID- Index which uniquely identifies a noticedate- Notice's publication datenoticeName- Notice's nametext- Text which notice containsrideID- Ride which notice is aboutlineID- Line of the ride which notice is about
 
 - 
 - 
Method Details
- 
setNoticeID
 - 
setNoticeDate
 - 
setNoticeName
 - 
setNoticeText
 - 
setRideID
 - 
setLineID
 - 
getNoticeID
 - 
getNoticeDate
 - 
getNoticeName
 - 
getNoticeText
 - 
getRideID
 - 
getLineID
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -