We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 237760f commit 52022a6Copy full SHA for 52022a6
src/main/java/org/springframework/data/domain/Persistable.java
@@ -19,10 +19,16 @@
19
20
/**
21
* Simple interface for entities.
22
+ * <p>
23
+ * Note that methods declared in this interface ({@link #getId()} and {@link #isNew()}) become property accessors when
24
+ * implementing this interface in combination with
25
+ * {@link org.springframework.data.annotation.AccessType @AccessType(PROPERTY)}. Either of these can be marked as
26
+ * transient when annotated with {@link org.springframework.data.annotation.Transient @Transient}.
27
*
28
* @param <ID> the type of the identifier
29
* @author Oliver Gierke
30
* @author Christoph Strobl
31
+ * @author Mark Paluch
32
*/
33
public interface Persistable<ID> {
34
0 commit comments