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

com.github.tomschi.commons.data.dto.rest.RESTIdentifiableDto Maven / Gradle / Ivy

There is a newer version: 0.2.1
Show newest version
package com.github.tomschi.commons.data.dto.rest;

/**
 * The {@link RESTIdentifiableDto} interface is the base interface for
 * all rest data transfer objects with an identifier.
 *
 * @param  The type of the identifier.
 *
 * @since 0.1.0
 * @author Tomschi
 */
public interface RESTIdentifiableDto extends RESTDataTransferObject {

    /**
     * The getter of the id.
     *
     * @return The id.
     */
    T getId();

    /**
     * The setter of the id.
     *
     * @param id The new id.
     */
    void setId(T id);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy