From 1befa529e9b23750fa23463b17d25fee778d8ccf Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Fri, 7 Aug 2015 16:16:21 +0200 Subject: [PATCH] DATACMNS-746 - Improved JavaDoc of PersistentPropertyAccessor. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The JavaDoc of PersistentPropertyAccessor now explicitly hints to PersistentEntity.getPropertyAccessor(…) to make obvious how instances of it can be obtained. --- .../data/mapping/PersistentPropertyAccessor.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java b/src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java index 48e896281..dde04f6cd 100644 --- a/src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java +++ b/src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2014 the original author or authors. + * Copyright 2014-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,10 +15,17 @@ */ package org.springframework.data.mapping; +import org.springframework.data.mapping.model.ConvertingPropertyAccessor; + /** - * Domain service to allow accessing and setting {@link PersistentProperty}s of an entity. + * Domain service to allow accessing and setting {@link PersistentProperty}s of an entity. Usually obtained through + * {@link PersistentEntity#getPropertyAccessor(Object)}. In case type conversion shall be applied on property access, + * use a {@link ConvertingPropertyAccessor}. * * @author Oliver Gierke + * @since 1.10 + * @see PersistentEntity#getPropertyAccessor(Object) + * @see ConvertingPropertyAccessor */ public interface PersistentPropertyAccessor {