Skip to content

Commit 1befa52

Browse files
committed
DATACMNS-746 - Improved JavaDoc of PersistentPropertyAccessor.
The JavaDoc of PersistentPropertyAccessor now explicitly hints to PersistentEntity.getPropertyAccessor(…) to make obvious how instances of it can be obtained.
1 parent e722030 commit 1befa52

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014 the original author or authors.
2+
* Copyright 2014-2015 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,10 +15,17 @@
1515
*/
1616
package org.springframework.data.mapping;
1717

18+
import org.springframework.data.mapping.model.ConvertingPropertyAccessor;
19+
1820
/**
19-
* Domain service to allow accessing and setting {@link PersistentProperty}s of an entity.
21+
* Domain service to allow accessing and setting {@link PersistentProperty}s of an entity. Usually obtained through
22+
* {@link PersistentEntity#getPropertyAccessor(Object)}. In case type conversion shall be applied on property access,
23+
* use a {@link ConvertingPropertyAccessor}.
2024
*
2125
* @author Oliver Gierke
26+
* @since 1.10
27+
* @see PersistentEntity#getPropertyAccessor(Object)
28+
* @see ConvertingPropertyAccessor
2229
*/
2330
public interface PersistentPropertyAccessor {
2431

0 commit comments

Comments
 (0)