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. --- docs/java/com/sleepycat/persist/raw/RawObject.html | 905 ++++++++++----------- 1 file changed, 436 insertions(+), 469 deletions(-) (limited to 'docs/java/com/sleepycat/persist/raw/RawObject.html') diff --git a/docs/java/com/sleepycat/persist/raw/RawObject.html b/docs/java/com/sleepycat/persist/raw/RawObject.html index acd89e63..1169cc79 100644 --- a/docs/java/com/sleepycat/persist/raw/RawObject.html +++ b/docs/java/com/sleepycat/persist/raw/RawObject.html @@ -1,506 +1,473 @@ - - - - - -RawObject (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.persist.raw -
-Class RawObject

-
-java.lang.Object
-  extended by com.sleepycat.persist.raw.RawObject
-
-
-
-
public class RawObject
extends Object
- - -

-A raw instance that can be used with a RawStore or Conversion. A RawObject is used to represent instances of +

+
com.sleepycat.persist.raw
+

Class RawObject

+
+
+ +
+
    +
  • +
    +
    +
    public class RawObject
    +extends java.lang.Object
    +
    A raw instance that can be used with a RawStore or Conversion. A RawObject is used to represent instances of complex types (persistent classes with fields), arrays, and enum values. It is not used to represent non-enum simple types, which are represented as simple objects. This includes primitives, which are represented as instances of their wrapper class.

    RawObject objects are thread-safe. Multiple threads may safely - call the methods of a shared RawObject object.

    -

    - -

    -


    - -

    - + call the methods of a shared RawObject object.

    +
  • +
+
+
+
    +
  • - - - - - - - - - - - - - - - -
    -Constructor Summary
    RawObject(RawType type, - Map<String,Object> values, - RawObject superObject) - -
    -          Creates a raw object with a given set of field values for a complex - type.
    RawObject(RawType type, - Object[] elements) - -
    -          Creates a raw object with the given array elements for an array type.
    RawObject(RawType type, - String enumConstant) - -
    -          Creates a raw object with the given enum value for an enum type.
    -  +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      RawObject(RawType type, + java.util.Map<java.lang.String,java.lang.Object> values, + RawObject superObject) +
      Creates a raw object with a given set of field values for a complex + type.
      +
      RawObject(RawType type, + java.lang.Object[] elements) +
      Creates a raw object with the given array elements for an array type.
      +
      RawObject(RawType type, + java.lang.String enumConstant) +
      Creates a raw object with the given enum value for an enum type.
      +
      +
    • +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleanequals(Object other) - -
    -           
    - Object[]getElements() - -
    -          Returns the array of elements for an array type, or null for a complex - type or an enum type.
    - StringgetEnum() - -
    -          Returns the enum constant String for an enum type, or null for a complex - type or an array type.
    - RawObjectgetSuper() - -
    -          Returns the instance of the superclass, or null if the superclass is - Object or Enum.
    - RawTypegetType() - -
    -          Returns the raw type information for this raw object.
    - Map<String,Object>getValues() - -
    -          Returns a map of field name to value for a complex type, or null for an - array type or an enum type.
    - inthashCode() - -
    -           
    - StringtoString() - -
    -          Returns an XML representation of the raw object.
    - - - - - - - -
    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) 
      java.lang.Object[]getElements() +
      Returns the array of elements for an array type, or null for a complex + type or an enum type.
      +
      java.lang.StringgetEnum() +
      Returns the enum constant String for an enum type, or null for a complex + type or an array type.
      +
      RawObjectgetSuper() +
      Returns the instance of the superclass, or null if the superclass is + Object or Enum.
      +
      RawTypegetType() +
      Returns the raw type information for this raw object.
      +
      java.util.Map<java.lang.String,java.lang.Object>getValues() +
      Returns a map of field name to value for a complex type, or null for an + array type or an enum type.
      +
      inthashCode() 
      java.lang.StringtoString() +
      Returns an XML representation of the raw object.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

    RawObject

    +
    public RawObject(RawType type,
    +         java.lang.Object[] elements)
    +
    Creates a raw object with the given array elements for an array type.
    +
    Parameters:
    type - the type of this raw object.
    elements - an array of elements. Each element in the array is a + RawObject, a simple type instance, or - null. -
    Throws: -
    IllegalArgumentException - if the type argument is not an array - type.
    - -
    - -

    -RawObject

    -
    -public RawObject(RawType type,
    -                 String enumConstant)
    -
    -
    Creates a raw object with the given enum value for an enum type. -

    -

    -
    Parameters:
    type - the type of this raw object.
    enumConstant - the String value of this enum constant; must be - one of the Strings returned by RawType.getEnumConstants(). -
    Throws: -
    IllegalArgumentException - if the type argument is not an array - type.
    -
    - + null. +
    Throws:
    +
    java.lang.IllegalArgumentException - if the type argument is not an array + type.
    +
  • +
+ + + +
    +
  • +

    RawObject

    +
    public RawObject(RawType type,
    +         java.lang.String enumConstant)
    +
    Creates a raw object with the given enum value for an enum type.
    +
    Parameters:
    type - the type of this raw object.
    enumConstant - the String value of this enum constant; must be + one of the Strings returned by RawType.getEnumConstants().
    +
    Throws:
    +
    java.lang.IllegalArgumentException - if the type argument is not an array + type.
    +
  • +
+ + - - - - - - -
-Method Detail
- -

-getType

-
-public RawType getType()
-
-
Returns the raw type information for this raw object. +
    +
  • + + +

    Method Detail

    + + + +
      +
    • +

      getType

      +
      public RawType getType()
      +
      Returns the raw type information for this raw object.

      Note that if this object is unevolved, the returned type may be - different from the current type returned by EntityModel.getRawType for the same class name. - This can only occur in a Conversion.convert.

      -

      -

      -
      -
      -
-
- -

-getValues

-
-public Map<String,Object> getValues()
-
-
Returns a map of field name to value for a complex type, or null for an + different from the current type returned by EntityModel.getRawType for the same class name. + This can only occur in a Conversion.convert.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-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