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/layout/Layout.html | 580 ++++++++++++++++++++++++ 1 file changed, 580 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/layout/Layout.html (limited to 'apidocs/com/amazon/carbonado/layout/Layout.html') diff --git a/apidocs/com/amazon/carbonado/layout/Layout.html b/apidocs/com/amazon/carbonado/layout/Layout.html new file mode 100644 index 0000000..284f919 --- /dev/null +++ b/apidocs/com/amazon/carbonado/layout/Layout.html @@ -0,0 +1,580 @@ + + + + + + +Layout (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.layout
+

Class Layout

+
+
+ +
+
    +
  • +
    +
    +
    public class Layout
    +extends java.lang.Object
    +
    Describes the layout of a specific generation of a storable.
    +
    Author:
    +
    Brian S O'Neill
    +
    See Also:
    LayoutFactory
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      booleanequalLayouts(Layout layout) +
      Returns true if the given layout matches this one.
      +
      booleanequals(java.lang.Object obj) 
      java.util.List<LayoutProperty>getAllProperties() +
      Returns all the properties of this layout, in their proper order.
      +
      org.joda.time.DateTimegetCreationDateTime() +
      Returns the date and time for when this layout generation was created.
      +
      java.lang.StringgetCreationHost() +
      Returns the host machine that created this generation.
      +
      java.lang.StringgetCreationUser() +
      Returns the user that created this layout generation.
      +
      java.util.List<LayoutProperty>getDataProperties() +
      Returns all the non-primary key properties of this layout, in their + proper order.
      +
      intgetGeneration() +
      Returns the generation of this layout, where zero represents the first + generation.
      +
      LayoutgetGeneration(int generation) +
      Returns the layout for a particular generation of this layout's type.
      +
      longgetLayoutID() +
      Returns a unique identifier for this layout.
      +
      LayoutOptionsgetOptions() +
      Returns additional options, or null if none.
      +
      java.lang.StringgetStorableTypeName() +
      Storable type name is a fully qualified Java class name.
      +
      inthashCode() 
      LayoutnextGeneration() +
      Returns the next known generation of the storable's layout, or null + if none.
      +
      LayoutpreviousGeneration() +
      Returns the previous known generation of the storable's layout, or null + if none.
      +
      java.lang.Class<? extends Storable>reconstruct() +
      Reconstructs the storable type defined by this layout by returning an + auto-generated class.
      +
      java.lang.Class<? extends Storable>reconstruct(java.lang.ClassLoader loader) +
      Reconstructs the storable type defined by this layout by returning an + auto-generated class.
      +
      java.lang.StringtoString() 
      voidwriteTo(java.io.OutputStream out) + +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getLayoutID

        +
        public long getLayoutID()
        +
        Returns a unique identifier for this layout.
        +
      • +
      + + + +
        +
      • +

        getStorableTypeName

        +
        public java.lang.String getStorableTypeName()
        +
        Storable type name is a fully qualified Java class name.
        +
      • +
      + + + +
        +
      • +

        getGeneration

        +
        public int getGeneration()
        +
        Returns the generation of this layout, where zero represents the first + generation.
        +
      • +
      + + + +
        +
      • +

        getDataProperties

        +
        public java.util.List<LayoutProperty> getDataProperties()
        +                                                 throws FetchException
        +
        Returns all the non-primary key properties of this layout, in their + proper order.
        +
        Throws:
        +
        FetchException
        +
      • +
      + + + + + + + +
        +
      • +

        getCreationDateTime

        +
        public org.joda.time.DateTime getCreationDateTime()
        +
        Returns the date and time for when this layout generation was created.
        +
      • +
      + + + +
        +
      • +

        getCreationUser

        +
        public java.lang.String getCreationUser()
        +
        Returns the user that created this layout generation.
        +
      • +
      + + + +
        +
      • +

        getCreationHost

        +
        public java.lang.String getCreationHost()
        +
        Returns the host machine that created this generation.
        +
      • +
      + + + +
        +
      • +

        getOptions

        +
        public LayoutOptions getOptions()
        +
        Returns additional options, or null if none.
        +
        Returns:
        read-only object or null
        +
      • +
      + + + + + + + +
        +
      • +

        previousGeneration

        +
        public Layout previousGeneration()
        +                          throws FetchException
        +
        Returns the previous known generation of the storable's layout, or null + if none.
        +
        Returns:
        a layout with a lower generation, or null if none
        +
        Throws:
        +
        FetchException
        +
      • +
      + + + +
        +
      • +

        nextGeneration

        +
        public Layout nextGeneration()
        +                      throws FetchException
        +
        Returns the next known generation of the storable's layout, or null + if none.
        +
        Returns:
        a layout with a higher generation, or null if none
        +
        Throws:
        +
        FetchException
        +
      • +
      + + + +
        +
      • +

        reconstruct

        +
        public java.lang.Class<? extends Storable> reconstruct()
        +                                                throws FetchException,
        +                                                       SupportException
        +
        Reconstructs the storable type defined by this layout by returning an + auto-generated class. The reconstructed storable type will not contain + everything in the original, but rather the minimum required to decode + persisted instances.
        +
        Throws:
        +
        FetchException
        +
        SupportException
        +
      • +
      + + + +
        +
      • +

        reconstruct

        +
        public java.lang.Class<? extends Storable> reconstruct(java.lang.ClassLoader loader)
        +                                                throws FetchException,
        +                                                       SupportException
        +
        Reconstructs the storable type defined by this layout by returning an + auto-generated class. The reconstructed storable type will not contain + everything in the original, but rather the minimum required to decode + persisted instances.
        +
        Parameters:
        loader - optional ClassLoader to load reconstruct class into, if it + has not been loaded yet
        +
        Throws:
        +
        FetchException
        +
        SupportException
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(java.lang.Object obj)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        equalLayouts

        +
        public boolean equalLayouts(Layout layout)
        +                     throws FetchException
        +
        Returns true if the given layout matches this one. Layout ID, + generation, and creation info is not considered in the comparison.
        +
        Throws:
        +
        FetchException
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

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

+ + -- cgit v1.2.3