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/model/Entity.html | 453 +++++++++++----------- 1 file changed, 228 insertions(+), 225 deletions(-) (limited to 'docs/java/com/sleepycat/persist/model/Entity.html') diff --git a/docs/java/com/sleepycat/persist/model/Entity.html b/docs/java/com/sleepycat/persist/model/Entity.html index f0cc8ebf..af43c704 100644 --- a/docs/java/com/sleepycat/persist/model/Entity.html +++ b/docs/java/com/sleepycat/persist/model/Entity.html @@ -1,107 +1,96 @@ - - - - - -Entity (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.persist.model -
-Annotation Type Entity

-
-
-
@Documented
-@Retention(value=RUNTIME)
-@Target(value=TYPE)
-public @interface Entity
- - -

-Indicates a persistent entity class. For each entity class, a PrimaryIndex can be used to store and access instances of that class. - Optionally, one or more SecondaryIndex objects may be used to access +

+
com.sleepycat.persist.model
+

Annotation Type Entity

+
+
+
+
    +
  • +
    +
    +
    @Documented
    +@Retention(value=RUNTIME)
    +@Target(value=TYPE)
    +public @interface Entity
    +
    Indicates a persistent entity class. For each entity class, a PrimaryIndex can be used to store and access instances of that class. + Optionally, one or more SecondaryIndex objects may be used to access entity instances by secondary key.

    Entity Subclasses and Superclasses

    @@ -158,9 +147,9 @@ Indicates a persistent entity class. For each entity class, a registerClass method may be called +
  • The registerClass method may be called to register the subclass before opening the entity store.
  • -
  • The getSubclassIndex method may be +
  • The getSubclassIndex method may be called to implicitly register the subclass after opening the entity store.
  • @@ -192,10 +181,10 @@ Indicates a persistent entity class. For each entity class, a BigDecimal

    -
  • BigInteger

    -
  • String

    -
  • Date

    +
  • BigDecimal

    +
  • BigInteger

    +
  • String

    +
  • Date

When null values are required (for optional key fields, for example), @@ -206,8 +195,8 @@ Indicates a persistent entity class. For each entity class, a Complex and Proxy Types

-

Complex persistent classes must be annotated with Entity or - Persistent, or must be proxied by a persistent proxy class +

Complex persistent classes must be annotated with Entity or + Persistent, or must be proxied by a persistent proxy class (described below). This includes entity classes, subclasses and superclasses, and all other complex classes referenced via fields of these classes.

@@ -220,21 +209,21 @@ Indicates a persistent entity class. For each entity class, a PersistentProxy class may be used to + library. In this case, a PersistentProxy class may be used to represent the stored values for the externally defined type. The proxy - class itself must be annotated with Persistent like other persistent - classes, and the Persistent.proxyFor() property must be specified.

+ class itself must be annotated with Persistent like other persistent + classes, and the Persistent.proxyFor() property must be specified.

For convenience, built-in proxy classes are included for several common classes (listed below) in the Java library. If you wish, you may define - your own PersistentProxy to override these built-in proxies.

+ your own PersistentProxy to override these built-in proxies.

Complex persistent types should in general be application-defined @@ -245,16 +234,16 @@ Indicates a persistent entity class. For each entity class, a Persistent not - with Entity).

+ types or non-entity persistent types (annotated with Persistent not + with Entity).

Entity classes, subclasses and superclasses may be abstract and may implement arbitrary interfaces. Interfaces do not need to be annotated - with Persistent in order to be used in a persistent class, since + with Persistent in order to be used in a persistent class, since interfaces do not contain instance fields.

Persistent instances of static nested classes are allowed, but the nested - class must be annotated with Persistent or Entity. Inner + class must be annotated with Persistent or Entity. Inner classes (non-static nested classes, including anonymous classes) are not currently allowed as persistent types.

@@ -299,122 +288,136 @@ Indicates a persistent entity class. For each entity class, a Persistent, -PrimaryKey, -SecondaryKey, -KeyField -
- -

+ refer to two separate instances when the entities are retrieved.

+
See Also:
Persistent, +PrimaryKey, +SecondaryKey, +KeyField
+ + +
+
+ +
+
+ +
+ -
- - - - - - - - - - - - - - - - - - -
-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