Package | Description |
---|---|
com.sleepycat.persist.model |
Annotations for defining a persistent object model.
|
com.sleepycat.persist.raw |
Raw data access for general purpose tools and manual conversions.
|
Modifier and Type | Method and Description |
---|---|
RawType |
EntityModel.getRawType(java.lang.String className)
Returns the type information for the current version of a given class,
or null if the class is not currently persistent.
|
RawType |
EntityModel.getRawTypeVersion(java.lang.String className,
int version)
Returns the type information for a given version of a given class,
or null if the given version of the class is unknown.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<RawType> |
EntityModel.getAllRawTypes()
Returns all versions of all known types.
|
java.util.List<RawType> |
EntityModel.getAllRawTypeVersions(java.lang.String className)
Returns all known versions of type information for a given class name,
or null if no persistent version of the class is known.
|
Modifier and Type | Method and Description |
---|---|
RawType |
RawType.getComponentType()
Returns the array component type, or null if this is not an array type.
|
RawType |
RawType.getSuperType()
Returns the type of the superclass, or null if the superclass is Object
or this is not a complex type (in other words, this is a simple type or
an array type).
|
RawType |
RawObject.getType()
Returns the raw type information for this raw object.
|
RawType |
RawField.getType()
Returns the type of the field, without expanding parameterized types,
or null if the type is an interface type or the Object class.
|
Constructor and Description |
---|
RawObject(RawType type,
java.util.Map<java.lang.String,java.lang.Object> values,
RawObject superObject)
Creates a raw object with a given set of field values for a complex
type.
|
RawObject(RawType type,
java.lang.Object[] elements)
Creates a raw object with the given array elements for an array type.
|
RawObject(RawType type,
java.lang.String enumConstant)
Creates a raw object with the given enum value for an enum type.
|
Copyright (c) 1996, 2019 Oracle and/or its affiliates. All rights reserved.