source: xssim/src/schedframe/scheduling/events/SchedulingEvent.java @ 104

Revision 104, 688 bytes checked in by wojtekp, 13 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package schedframe.scheduling.events;
2
3public class SchedulingEvent {
4       
5        protected SchedulingEventType type;
6        protected SchedulingEventReason reason;
7       
8        protected String entityId;
9       
10        public SchedulingEvent(SchedulingEventType eventType){
11                this(eventType, SchedulingEventReason.UNKNOWN);
12        }
13       
14        public SchedulingEvent(SchedulingEventType eventType, SchedulingEventReason eventReason){
15                type = eventType;
16                reason = eventReason;
17        }
18       
19        public SchedulingEventType getType(){
20                return type;
21        }
22       
23        public SchedulingEventReason getReason(){
24                return reason;
25        }
26       
27        public void setEntityId(String value){
28                this.entityId = value;
29        }
30       
31        public String getEntityId(){
32                return this.entityId;
33        }
34       
35}
Note: See TracBrowser for help on using the repository browser.