diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2010-02-17 18:14:17 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2010-02-17 18:14:17 +0000 |
commit | 718eb5e99395f3c9f216fb7421d33a6a58cca4c6 (patch) | |
tree | 3c864d1e131058047bed09f8a2fdc61ed614ec9e /src/main/java/com/amazon/carbonado/synthetic | |
parent | 2660d432679914d58c466d2e6cb5d824d5cb24ac (diff) |
Add PartitionKey annotation.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/synthetic')
-rw-r--r-- | src/main/java/com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.java b/src/main/java/com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.java index 9a44574..69b2a9c 100644 --- a/src/main/java/com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.java +++ b/src/main/java/com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.java @@ -110,7 +110,7 @@ public class SyntheticStorableReferenceBuilder<S extends Storable> String mCopyToMasterPkMethodName;
// The result of building.
- private SyntheticStorableReferenceAccess mReferenceAccess;
+ private SyntheticStorableReferenceAccess<S> mReferenceAccess;
/**
* @param storableClass
@@ -206,10 +206,10 @@ public class SyntheticStorableReferenceBuilder<S extends Storable> *
* @since 1.2.1
*/
- public SyntheticStorableReferenceAccess getReferenceAccess() {
+ public SyntheticStorableReferenceAccess<S> getReferenceAccess() {
if (mReferenceAccess == null) {
Class<? extends Storable> referenceClass = mBuilder.getStorableClass();
- mReferenceAccess = new SyntheticStorableReferenceAccess
+ mReferenceAccess = new SyntheticStorableReferenceAccess<S>
(mMasterStorableClass, referenceClass, this);
}
return mReferenceAccess;
|