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

nl.vpro.domain.Changeable Maven / Gradle / Ivy

Go to download

Several domains like 'media', pages' and 'subtitles' in the POMS system share some common properties which are collected here

There is a newer version: 8.3.1
Show newest version
package nl.vpro.domain;

import java.time.Instant;

/**
 * An 'changeable' object represent an entity that has {@link #getCreationInstant()}  and {@link #getLastModifiedInstant()}.
 * 

* Also, it (optionally) can keep track whether it thinks currently {@link #hasChanges()}. * * @author Michiel Meeuwissen * @since 5.10 */ public interface Changeable extends Trackable { default boolean hasChanges() { return true; } void setLastModifiedInstant(Instant lastModified); void setCreationInstant(Instant creationDate); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy