Package | Description |
---|---|
com.sleepycat.persist.model |
Annotations for defining a persistent object model.
|
Modifier and Type | Method | Description |
---|---|---|
Relationship |
SecondaryKeyMetadata.getRelationship() |
Returns the relationship between instances of the entity class and the
secondary keys.
|
Relationship |
relate() |
Defines the relationship between instances of the entity class and the
secondary keys.
|
static Relationship |
Relationship.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Relationship[] |
Relationship.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor | Description |
---|---|
SecondaryKeyMetadata(java.lang.String name,
java.lang.String className,
java.lang.String declaringClassName,
java.lang.String elementClassName,
java.lang.String keyName,
Relationship relationship,
java.lang.String relatedEntity,
DeleteAction deleteAction) |
Used by an
EntityModel to construct secondary key metadata. |
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.