Package | Description |
---|---|
com.sleepycat.persist.model |
Annotations for defining a persistent object model.
|
Modifier and Type | Method | Description |
---|---|---|
DeleteAction |
SecondaryKeyMetadata.getDeleteAction() |
Returns the action to take when a related entity is deleted having a
primary key value that exists as a secondary key value for this entity.
|
DeleteAction |
onRelatedEntityDelete() |
Specifies the action to take when a related entity is deleted having a
primary key value that exists as a secondary key value for this entity.
|
static DeleteAction |
DeleteAction.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DeleteAction[] |
DeleteAction.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.