package Classes; public class Event implements Interfaces.Event { /* (1) Attributes: Event identifiers ---------------------------------------------------------*/ private String objectId; private String eventType; /* (2) Constructs an event * * @objectId Event ID * @eventType Type of event (arbitrary) * ---------------------------------------------------------*/ public Event(String objectId, String eventType) { this.objectId = objectId; this.eventType = eventType; } /* (3) GET: @objectId * ---------------------------------------------------------*/ public String getObjectId(){ return this.objectId; } /* (4) GET: @eventType * ---------------------------------------------------------*/ public String getEventType(){ return this.eventType; } }