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

org.sdn.api.framework.event.Event Maven / Gradle / Ivy

package org.sdn.api.framework.event;

/**
 * Created with IntelliJ IDEA.
 * Author: Tao.Wang
 * Date: 2019/1/24
 * Time: 6:11 PM
 * Org : 思笛恩
 * To change this template use File | Settings | File Templates.
 * Description:
 *
 * @author: Tao.Wang
 */
public class Event {


    private String loid;
    private String eventType;
    private long createTime = System.currentTimeMillis();
    private Object data;

    public String getLoid() {
        return loid;
    }

    public void setLoid(String loid) {
        this.loid = loid;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }


    @Override
    public String toString() {
        return "{loid:" + loid + ",eventType:" + eventType + ",createTime:" + createTime + ",data:" + data + "}";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy