java.lang.Object
com.prog3.ipt.Model.LineRide.Notice
Notice is a class represents a user notice stored into system's database
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
private void
private void
setNoticeDate
(LocalDate date) private void
setNoticeID
(String noticeID) private void
setNoticeName
(String noticeName) private void
setNoticeText
(String text) private void
toString()
-
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
-