
de.tsl2.nano.service.util.IPersistable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.serviceaccess Show documentation
Show all versions of tsl2.nano.serviceaccess Show documentation
TSL2 JEE Service Access (Generic Services for Entity Access, JEE File-System-Connector, Generic Featuring, Job-Scheduling, BeanContainer, Batch, Comfortable Bean Query Definitions, JAAS, Authentification, Authorization, )
The newest version!
/**
*
*/
package de.tsl2.nano.service.util;
import java.io.Serializable;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
/**
* Provide jpa entities with a generic id.
*
* @author Tom
*/
@MappedSuperclass
public interface IPersistable extends Serializable {
@Id
@GeneratedValue
ID getId();
void setId(ID id);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy