spring-projects/spring-data-commons — pull request #88 by christophstrobl (2014-07-07 19:57:57+00:00)
Title: DATACMNS-534 - Add reading / writing property information to PersistentProperty.

We introduced optional annotations for `@ReadingProperty` and `@WritingProperty` which can be used for marking properties for being persisted to or only read from the store. Both annotations can be used as meta-annotations for building special ones like eg. `@Score` in Spring Data Mongodb.

Having **none** of these annotations used will behave as if **both** annotations where present. This means that
```java
@ReadingProperty @WritingProperty String foo;
```
is will return the same for `property.isReading()` and `property.isWriting()` as plain
```java
String foo;
```
Both annotations are superseded by `@Transient` which will force `isReading()` and `isWriting()` to `false`.