Package | Description |
---|---|
com.sleepycat.persist.model |
Annotations for defining a persistent object model.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Map<java.lang.String,SecondaryKeyMetadata> |
ClassMetadata.getSecondaryKeys() |
Returns an unmodifiable map of key name (which may be different from
field name) to secondary key metadata for all secondary keys declared in
this class, or null if no secondary keys are declared in this class.
|
java.util.Map<java.lang.String,SecondaryKeyMetadata> |
EntityMetadata.getSecondaryKeys() |
Returns an unmodifiable map of key name to secondary key metadata, or
an empty map if no secondary keys are defined for this entity.
|
Constructor | Description |
---|---|
ClassMetadata(java.lang.String className,
int version,
java.lang.String proxiedClassName,
boolean entityClass,
PrimaryKeyMetadata primaryKey,
java.util.Map<java.lang.String,SecondaryKeyMetadata> secondaryKeys,
java.util.List<FieldMetadata> compositeKeyFields) |
Used by an
EntityModel to construct persistent class metadata. |
ClassMetadata(java.lang.String className,
int version,
java.lang.String proxiedClassName,
boolean entityClass,
PrimaryKeyMetadata primaryKey,
java.util.Map<java.lang.String,SecondaryKeyMetadata> secondaryKeys,
java.util.List<FieldMetadata> compositeKeyFields,
java.util.Collection<FieldMetadata> persistentFields) |
Used by an
EntityModel to construct persistent class metadata. |
EntityMetadata(java.lang.String className,
PrimaryKeyMetadata primaryKey,
java.util.Map<java.lang.String,SecondaryKeyMetadata> secondaryKeys) |
Used by an
EntityModel to construct entity metadata. |
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.