
cc.catalysts.boot.dto.Identifiable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cat-boot-api Show documentation
Show all versions of cat-boot-api Show documentation
Catalysts Spring Boot extentions
package cc.catalysts.boot.dto;
import java.io.Serializable;
/**
* Common interface for an identifiable object
*
* @param the type of the identifier, e.g. {@link Long}
* @author Klaus Lehner ([email protected])
*/
public interface Identifiable {
/**
* @return the unique ID of this object
*/
ID getId();
/**
* @param id the unique ID of this object
*/
void setId(ID id);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy