From 59185851eda16b725d47a56ec71d954944522400 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Sat, 19 Apr 2008 21:28:19 +0000 Subject: Use Javadoc literals. --- src/main/java/com/amazon/carbonado/Independent.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/main/java/com/amazon/carbonado/Independent.java') diff --git a/src/main/java/com/amazon/carbonado/Independent.java b/src/main/java/com/amazon/carbonado/Independent.java index ab4b50b..92024e1 100644 --- a/src/main/java/com/amazon/carbonado/Independent.java +++ b/src/main/java/com/amazon/carbonado/Independent.java @@ -28,18 +28,19 @@ import java.lang.annotation.*; * makes the property or type unsupported. Any subsequent invocation of a property access * method for the independent type or property will cause an UnsupportedOperationException * to be thrown. - *

- * One example of when this might be used would be to store a calculated field in the cached - * representation of the object. It is not necessary to prevent implemented methods - * of the form "get<value>" from being inadvertently interpreted as properties of the - * storable; any implementation is by definition not a property. - *

- * If a correctly matching property actually is found, then this annotation is - * ignored and the property or type is defined as usual. If the Repository + * + *

One example of when this might be used would be to store a calculated + * field in the cached representation of the object. It is not + * necessary to prevent implemented methods of the form {@literal "get"} + * from being inadvertently interpreted as properties of the storable; any + * implementation is by definition not a property. + * + *

If a correctly matching property actually is found, then this annotation + * is ignored and the property or type is defined as usual. If the Repository * finds a property whose name matches, but whose type does not match, a * MismatchException will be thrown regardless of this annotation. * - *

Independent repositories completely ignore this annotation. + *

Independent repositories completely ignore this annotation. * *

Example:

  * public interface UserInfo extends Storable<UserInfo> {
-- 
cgit v1.2.3