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

Class YesNoAdapter.Adapter

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    YesNoAdapter
    +
    +
    +
    +
    public static class YesNoAdapter.Adapter
    +extends java.lang.Object
    +
    Adapter implementation for YesNoAdapter.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      YesNoAdapter.Adapter(java.lang.Class<?> type, + java.lang.String propertyName, + boolean lenient) 
      YesNoAdapter.Adapter(java.lang.Class<?> type, + java.lang.String propertyName, + YesNoAdapter ann) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      booleanadaptToBoolean(char value) +
      Adapts a character 'Y' or 'N' to true or false.
      +
      booleanadaptToBoolean(java.lang.Character value) +
      Adapts a character 'Y' or 'N' to true or false.
      +
      booleanadaptToBoolean(java.lang.String value) +
      Adapts a character "Y" or "N" to true or false.
      +
      java.lang.BooleanadaptToBooleanObj(char value) +
      Adapts a character 'Y' or 'N' to true or false.
      +
      java.lang.BooleanadaptToBooleanObj(java.lang.Character value) +
      Adapts a character 'Y' or 'N' to true or false.
      +
      java.lang.BooleanadaptToBooleanObj(java.lang.String value) +
      Adapts a character "Y" or "N" to true or false.
      +
      charadaptToChar(boolean value) +
      Adapts a boolean true or false into 'Y' or 'N'.
      +
      charadaptToChar(java.lang.Boolean value) +
      Adapts a boolean true into 'Y', and anything else to 'N'.
      +
      java.lang.CharacteradaptToCharacter(boolean value) +
      Adapts a boolean true or false into 'Y' or 'N'.
      +
      java.lang.CharacteradaptToCharacter(java.lang.Boolean value) +
      Adapts a boolean true into 'Y', and anything else to 'N'.
      +
      java.lang.StringadaptToString(boolean value) +
      Adapts a boolean true or false into "Y" or "N".
      +
      java.lang.StringadaptToString(java.lang.Boolean value) +
      Adapts a boolean true into "Y", and anything else to "N".
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        YesNoAdapter.Adapter

        +
        public YesNoAdapter.Adapter(java.lang.Class<?> type,
        +                    java.lang.String propertyName,
        +                    YesNoAdapter ann)
        +
        Parameters:
        type - type of object that contains the adapted property
        propertyName - name of property with adapter
        ann - specific annotation that binds to this adapter class
        +
      • +
      + + + +
        +
      • +

        YesNoAdapter.Adapter

        +
        public YesNoAdapter.Adapter(java.lang.Class<?> type,
        +                    java.lang.String propertyName,
        +                    boolean lenient)
        +
        Parameters:
        type - type of object that contains the adapted property
        propertyName - name of property with
        lenient - lenient when true
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        adaptToChar

        +
        public char adaptToChar(boolean value)
        +
        Adapts a boolean true or false into 'Y' or 'N'.
        +
      • +
      + + + +
        +
      • +

        adaptToChar

        +
        public char adaptToChar(java.lang.Boolean value)
        +
        Adapts a boolean true into 'Y', and anything else to 'N'.
        +
      • +
      + + + +
        +
      • +

        adaptToCharacter

        +
        public java.lang.Character adaptToCharacter(boolean value)
        +
        Adapts a boolean true or false into 'Y' or 'N'.
        +
      • +
      + + + +
        +
      • +

        adaptToCharacter

        +
        public java.lang.Character adaptToCharacter(java.lang.Boolean value)
        +
        Adapts a boolean true into 'Y', and anything else to 'N'.
        +
      • +
      + + + +
        +
      • +

        adaptToString

        +
        public java.lang.String adaptToString(boolean value)
        +
        Adapts a boolean true or false into "Y" or "N".
        +
      • +
      + + + +
        +
      • +

        adaptToString

        +
        public java.lang.String adaptToString(java.lang.Boolean value)
        +
        Adapts a boolean true into "Y", and anything else to "N".
        +
      • +
      + + + +
        +
      • +

        adaptToBoolean

        +
        public boolean adaptToBoolean(char value)
        +
        Adapts a character 'Y' or 'N' to true or false. If lenient, other characters are accepted as + well.
        +
      • +
      + + + +
        +
      • +

        adaptToBoolean

        +
        public boolean adaptToBoolean(java.lang.Character value)
        +
        Adapts a character 'Y' or 'N' to true or false. If lenient, other characters are accepted as + well.
        +
      • +
      + + + +
        +
      • +

        adaptToBoolean

        +
        public boolean adaptToBoolean(java.lang.String value)
        +
        Adapts a character "Y" or "N" to true or false. If lenient, other characters are accepted as + well.
        +
      • +
      + + + +
        +
      • +

        adaptToBooleanObj

        +
        public java.lang.Boolean adaptToBooleanObj(char value)
        +
        Adapts a character 'Y' or 'N' to true or false. If lenient, other characters are accepted as + well.
        +
      • +
      + + + +
        +
      • +

        adaptToBooleanObj

        +
        public java.lang.Boolean adaptToBooleanObj(java.lang.Character value)
        +
        Adapts a character 'Y' or 'N' to true or false. If lenient, other characters are accepted as + well.
        +
      • +
      + + + +
        +
      • +

        adaptToBooleanObj

        +
        public java.lang.Boolean adaptToBooleanObj(java.lang.String value)
        +
        Adapts a character "Y" or "N" to true or false. If lenient, other characters are accepted as + well.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

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

+ + -- cgit v1.2.3