sk.seges.sesam.domain.IDomainObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sesam-core Show documentation
Show all versions of sesam-core Show documentation
Core interfaces and support classes to ease
information systems development. Usually requirement is to implement
multi-tier application using database, DAOs, services, models and
listeners.
The newest version!
/**
*
*/
package sk.seges.sesam.domain;
import java.io.Serializable;
/**
* Marker interface for all domain objects forcing equals and hashCode
* implementation and making object automatically serializable.
*
* @author eldzi
*/
public interface IDomainObject extends Serializable {
public static final String ID = "id";
/*
* Returns a primary key for a domain object
*/
T getId();
}