Package | Description |
---|---|
com.sleepycat.persist.model |
Annotations for defining a persistent object 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.
|
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 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) 2002, 2017 Oracle and/or its affiliates. All rights reserved.