Package | Description |
---|---|
com.sleepycat.persist.model |
Annotations for defining a persistent object model.
|
Modifier and Type | Class | Description |
---|---|---|
class |
PrimaryKeyMetadata |
The metadata for a primary key field.
|
class |
SecondaryKeyMetadata |
The metadata for a secondary key field.
|
Modifier and Type | Method | 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 | 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, 2020 Oracle and/or its affiliates. All rights reserved.