Uses of Class com.sleepycat.persist.model.SecondaryKeyMetadata (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

## Uses of Class
com.sleepycat.persist.model.SecondaryKeyMetadata

- Packages that use SecondaryKeyMetadata
  Package | Description
  --- | ---
  com.sleepycat.persist.model | Annotations for defining a persistent object model.

- - ### Uses of SecondaryKeyMetadata in com.sleepycat.persist.model

    Methods in com.sleepycat.persist.model that return types with arguments of type SecondaryKeyMetadata
    Modifier and Type | Method and Description
    --- | ---
    `Map<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.
    `Map<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.

    Constructor parameters in com.sleepycat.persist.model with type arguments of type SecondaryKeyMetadata
    Constructor and Description
    `ClassMetadata(String className, int version, String proxiedClassName, boolean entityClass, PrimaryKeyMetadata primaryKey, Map<String,SecondaryKeyMetadata> secondaryKeys, List<FieldMetadata> compositeKeyFields)` Used by an `EntityModel` to construct persistent class metadata.
    `ClassMetadata(String className, int version, String proxiedClassName, boolean entityClass, PrimaryKeyMetadata primaryKey, Map<String,SecondaryKeyMetadata> secondaryKeys, List<FieldMetadata> compositeKeyFields, Collection<FieldMetadata> persistentFields)` Used by an `EntityModel` to construct persistent class metadata.
    `EntityMetadata(String className, PrimaryKeyMetadata primaryKey, Map<String,SecondaryKeyMetadata> secondaryKeys)` Used by an `EntityModel` to construct entity metadata.

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.