All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.avarabyeu.jashing.core.JashingEvent Maven / Gradle / Ivy

There is a newer version: 0.0.16
Show newest version
package com.github.avarabyeu.jashing.core;

import java.time.Instant;

/**
 * Base Event for all Jashing events
 *
 * @author avarabyeu
 */
public class JashingEvent {
    private String id;
    private long updatedAt;

    /* Do not populate if you don't need dynamic title */
    private String title;

    public JashingEvent() {
        this.updatedAt = Instant.now().getEpochSecond();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public long getUpdatedAt() {
        return updatedAt;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy