Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package csci201.rinkema.sebastian.sched;
- import java.util.Date;
- /**
- * Created by Saboodi on 3/16/2017.
- */
- public class Event {
- private String eventName;
- private User host;
- private int locIndex;
- private Date calendar;
- private String description;
- public Event(String eventName, User host, int locIndex, Date calendar, String description){
- this.eventName = eventName;
- this.host=host;
- this.locIndex=locIndex;
- this.calendar =calendar;
- this.description=description;
- }
- public void setEventName(String name){
- eventName=name;
- }
- public void setHost(User name){
- host = name;
- }
- public void setLocIndex(int index){
- locIndex=index;
- }
- public void setCalendar(Date calendar){
- calendar=calendar;
- }
- public void setDescription(String description){
- this.description=description;
- }
- public String getEventName(){
- return eventName;
- }
- public User getUser(){
- return host;
- }
- public int getLocInded(){
- return locIndex;
- }
- public Date getCalendar(){
- return calendar;
- }
- public String getDescription(){
- return description;
- }
- public Date getDate(){
- return calendar;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement