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

de.tsl2.nano.service.util.IPersistable Maven / Gradle / Ivy

Go to download

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