ca.gc.aafc.dina.entity.DinaEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dina-base-api Show documentation
Show all versions of dina-base-api Show documentation
Base DINA API package for Java built on SpringBoot and Crnk
package ca.gc.aafc.dina.entity;
import java.time.OffsetDateTime;
import java.util.UUID;
/**
* Represents a DINA entity with an id and uuid field. The id is usually the Primary Key
* and auto-generated while the uuid is the natural key, a unique key that is publicly visible.
*/
public interface DinaEntity {
Integer getId();
UUID getUuid();
/**
* The group represents the group owning the entity. group is optional and null
* is return if an entity doesn't support it.
*
* @return the name of the group or null
*/
default String getGroup() {
return null;
}
String getCreatedBy();
OffsetDateTime getCreatedOn();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy