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

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

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

    Subclasses of FieldMetadata in com.sleepycat.persist.model
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PrimaryKeyMetadata` The metadata for a primary key field.
    `class` | `SecondaryKeyMetadata` The metadata for a secondary key field.

    Methods in com.sleepycat.persist.model that return types with arguments of type FieldMetadata
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<FieldMetadata>` | ClassMetadata.`getCompositeKeyFields()` Returns an unmodifiable list of metadata for the fields making up a composite key, or null if this is a not a composite key class.
    `java.util.Collection<FieldMetadata>` | ClassMetadata.`getPersistentFields()` Returns an unmodifiable list of metadata for the persistent fields in this class, or null if the default rules for persistent fields should be used.

    Constructor parameters in com.sleepycat.persist.model with type arguments of type FieldMetadata
    Constructor and 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.
    `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.

Copyright (c) 1996, 2017 Oracle and/or its affiliates. All rights reserved.