23 lines
352 B
Java
23 lines
352 B
Java
|
package Classes;
|
||
|
|
||
|
public class Event implements Interfaces.Event {
|
||
|
|
||
|
private String objectId;
|
||
|
private String eventType;
|
||
|
|
||
|
public Event(String objectId, String eventType) {
|
||
|
this.objectId = objectId;
|
||
|
this.eventType = eventType;
|
||
|
|
||
|
}
|
||
|
|
||
|
public String getObjectId() {
|
||
|
return objectId;
|
||
|
}
|
||
|
|
||
|
public String getEventType() {
|
||
|
return eventType;
|
||
|
}
|
||
|
|
||
|
}
|