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

com.tenduke.events.api.model.AbstractEventFeedItem Maven / Gradle / Ivy

Go to download

Objects and interfaces describing data communicated in the 10Duke Event Data system API

There is a newer version: 1.9.0
Show newest version
package com.tenduke.events.api.model;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * Base class for objects that can used as feed items in event feed data
 * return by 10Duke Event Data service.
 * @author jarkko
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public abstract class AbstractEventFeedItem {

    private String eventType;

    /**
     * Initializes a new instance of the {@link AbstractEventFeedItem} class.
     */
    protected AbstractEventFeedItem() {
        //
    }

    /**
     * Gets the event type.
     * @return The event type.
     */
    public String getEventType() {
        return eventType;
    }

    /**
     * Sets the event type.
     * @param eventType The event type.
     */
    public void setEventType(final String eventType) {
        this.eventType = eventType;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy