From d479253768d296a40b4f699e1de9b03c7146a97a Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 3 Dec 2013 14:03:28 -0800 Subject: Adding javadocs and Carbonado User Guide --- apidocs/com/amazon/carbonado/Sequence.html | 224 +++++++++++++++++++++++++++++ 1 file changed, 224 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/Sequence.html (limited to 'apidocs/com/amazon/carbonado/Sequence.html') diff --git a/apidocs/com/amazon/carbonado/Sequence.html b/apidocs/com/amazon/carbonado/Sequence.html new file mode 100644 index 0000000..4d96094 --- /dev/null +++ b/apidocs/com/amazon/carbonado/Sequence.html @@ -0,0 +1,224 @@ + + + + + + +Sequence (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado
+

Annotation Type Sequence

+
+
+
+
    +
  • +
    +
    +
    @Documented
    +@Retention(value=RUNTIME)
    +@Target(value=METHOD)
    +public @interface Sequence
    +
    Identifies a Storable property capable of selecting its own value on + insert, by a named sequence. Support for sequences is repository dependent, + and if not supported, a PersistException is thrown when trying to + insert. Explicitly specifying a value bypasses the sequence altogether. + +

    Example:

    + @PrimaryKey("userInfoID")
    + public interface UserInfo extends Storable<UserInfo> {
    +     @Sequence("USER_ID_SEQ")
    +     long getUserInfoID();
    +     void setUserInfoID(long id);
    +
    +     ...
    + }
    + 
    +
    Author:
    +
    Brian S O'Neill
    +
    See Also:
    Automatic
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      java.lang.Stringvalue +
      Name of the sequence used by the storage layer.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract java.lang.String value
        +
        Name of the sequence used by the storage layer.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + -- cgit v1.2.3