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

Class OrderedProperty<S extends Storable>

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Appender, java.io.Serializable
    +
    +
    +
    +
    public class OrderedProperty<S extends Storable>
    +extends java.lang.Object
    +implements java.io.Serializable, Appender
    +
    Represents a property paired with a preferred ordering direction.
    +
    Author:
    +
    Brian S O'Neill
    +
    See Also:
    Serialized Form
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        parse

        +
        public static <S extends StorableOrderedProperty<S> parse(StorableInfo<S> info,
        +                                            java.lang.String str)
        +                                                 throws java.lang.IllegalArgumentException
        +
        Parses an ordering property, which may start with a '+' or '-' to + indicate direction. Prefix of '~' indicates unspecified direction. If + ordering prefix not specified, default direction is ascending.
        +
        Parameters:
        info - Info for Storable type containing property
        str - string to parse
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if any required parameter is null or + string format is incorrect
        +
      • +
      + + + +
        +
      • +

        parse

        +
        public static <S extends StorableOrderedProperty<S> parse(StorableInfo<S> info,
        +                                            java.lang.String str,
        +                                            Direction defaultDirection)
        +                                                 throws java.lang.IllegalArgumentException
        +
        Parses an ordering property, which may start with a '+' or '-' to + indicate direction. Prefix of '~' indicates unspecified direction.
        +
        Parameters:
        info - Info for Storable type containing property
        str - string to parse
        defaultDirection - default direction if not specified in + string. If null, ascending order is defaulted.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if any required parameter is null or + string format is incorrect
        +
      • +
      + + + + + + + +
        +
      • +

        getDirection

        +
        public Direction getDirection()
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        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()
        +
        Returns the chained property in a parseable form.
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        appendTo

        +
        public void appendTo(java.lang.Appendable app)
        +              throws java.io.IOException
        +
        Description copied from interface: Appender
        +
        Append the string representation of this object to the given Appendable.
        +
        +
        Specified by:
        +
        appendTo in interface Appender
        +
        Parameters:
        app - Appendable object to receive string representation
        +
        Throws:
        +
        java.io.IOException - if thrown from given Appendable
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

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

+ + -- cgit v1.2.3