From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- .../com/sleepycat/persist/evolve/Converter.html | 722 ++++++++++----------- 1 file changed, 358 insertions(+), 364 deletions(-) (limited to 'docs/java/com/sleepycat/persist/evolve/Converter.html') diff --git a/docs/java/com/sleepycat/persist/evolve/Converter.html b/docs/java/com/sleepycat/persist/evolve/Converter.html index 82996867..b10e98ed 100644 --- a/docs/java/com/sleepycat/persist/evolve/Converter.html +++ b/docs/java/com/sleepycat/persist/evolve/Converter.html @@ -1,114 +1,118 @@ - - - - - -Converter (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.persist.evolve -
-Class Converter

-
-java.lang.Object
-  extended by com.sleepycat.persist.evolve.Mutation
-      extended by com.sleepycat.persist.evolve.Converter
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
Direct Known Subclasses:
EntityConverter
-
-
-
-
public class Converter
extends Mutation
- - -

-A mutation for converting an old version of an object value to conform to +

+
com.sleepycat.persist.evolve
+

Class Converter

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    Direct Known Subclasses:
    +
    EntityConverter
    +
    +
    +
    +
    public class Converter
    +extends Mutation
    +
    A mutation for converting an old version of an object value to conform to the current class or field definition. For example:
    @@ -135,278 +139,268 @@ A mutation for converting an old version of an object value to conform to
       mutations.addConverter(new Converter(Person.class.getName(), 0,
                                            new MyConversion()));
     
    -  // Configure the mutations as described here.
    - -

    See Conversion for more information.

    -

    - -

    -

    -
    See Also:
    Class Evolution, -Serialized Form
    -
    - -

    - + // Configure the mutations as described here. + +

    See Conversion for more information.

    +
    See Also:
    Class Evolution, +Serialized Form
    +
  • +
+
+
+
    +
  • - - - - - - - - - - - + +
    -Constructor Summary
    Converter(String className, - int classVersion, - Conversion conversion) - -
    -          Creates a mutation for converting all instances of the given class - version to the current version of the class.
    Converter(String declaringClassName, - int declaringClassVersion, - String fieldName, - Conversion conversion) - -
    -          Creates a mutation for converting all values of the given field in the +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + - -
      Constructors 
      Constructor and Description
      Converter(java.lang.String className, + int classVersion, + Conversion conversion) +
      Creates a mutation for converting all instances of the given class + version to the current version of the class.
      +
      Converter(java.lang.String declaringClassName, + int declaringClassVersion, + java.lang.String fieldName, + Conversion conversion) +
      Creates a mutation for converting all values of the given field in the given class version to a type compatible with the current declared type - of the field.
      -  + of the field. +
    +
  • +
- - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(Object other) - -
-          Returns true if the conversion objects are equal in this object and - given object, and if the Mutation.equals(java.lang.Object) superclass method - returns true.
- ConversiongetConversion() - -
-          Returns the converter instance specified to the constructor.
- inthashCode() - -
-           
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class com.sleepycat.persist.evolve.Mutation
getClassName, getClassVersion, getFieldName
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- +

    +
  • + + +

    Method Summary

    + + + + + + + + + + + + + + + + + + + + + + +
    Methods 
    Modifier and TypeMethod and Description
    booleanequals(java.lang.Object other) +
    Returns true if the conversion objects are equal in this object and + given object, and if the Mutation.equals(java.lang.Object) superclass method + returns true.
    +
    ConversiongetConversion() +
    Returns the converter instance specified to the constructor.
    +
    inthashCode() 
    java.lang.StringtoString() 
    + +
      +
    • + + +

      Methods inherited from class java.lang.Object

      +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • +
    +
  • +
+ + +
+
+
    +
  • - - - - - - -
    -Constructor Detail
    - -

    -Converter

    -
    -public Converter(String className,
    -                 int classVersion,
    -                 Conversion conversion)
    -
    -
    Creates a mutation for converting all instances of the given class - version to the current version of the class. -

    -

    -
    - -

    -Converter

    -
    -public Converter(String declaringClassName,
    -                 int declaringClassVersion,
    -                 String fieldName,
    -                 Conversion conversion)
    -
    -
    Creates a mutation for converting all values of the given field in the +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Converter

        +
        public Converter(java.lang.String className,
        +         int classVersion,
        +         Conversion conversion)
        +
        Creates a mutation for converting all instances of the given class + version to the current version of the class.
        +
      • +
      + + + +
        +
      • +

        Converter

        +
        public Converter(java.lang.String declaringClassName,
        +         int declaringClassVersion,
        +         java.lang.String fieldName,
        +         Conversion conversion)
        +
        Creates a mutation for converting all values of the given field in the given class version to a type compatible with the current declared type - of the field. -

        -

    - + of the field.
+ + + + - - - - - - -
-Method Detail
- -

-getConversion

-
-public Conversion getConversion()
-
-
Returns the converter instance specified to the constructor. -

-

-
-
-
-
- -

-equals

-
-public boolean equals(Object other)
-
-
Returns true if the conversion objects are equal in this object and - given object, and if the Mutation.equals(java.lang.Object) superclass method - returns true. -

-

-
Overrides:
equals in class Mutation
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class Mutation
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
Overrides:
toString in class Mutation
-
-
-
-
-
+ + + +
+ -
- - - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. - - +

Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.

+ + -- cgit v1.2.1