| java.lang.Object com.sleepycat.persist.raw.RawObject
RawObject | public class RawObject (Code) | | A raw instance that can be used with a
RawStore or
Conversion . A RawObject is used to represent instances of
complex types (persistent classes with fields), arrays, and enum values. It
is not used to represent non-enum simple types, which are represented as
simple objects. This includes primitives, which are represented as simple
objects using their wrapper class.
RawObject objects are thread-safe. Multiple threads may safely
call the methods of a shared
RawObject object.
author: Mark Hayes |
RawObject | public RawObject(RawType type, String enumConstant)(Code) | | Creates a raw object with the given enum value for an enum type.
Parameters: type - the type of this raw object. Parameters: enumConstant - the String value of this enum constant; must beone of the Strings returned by RawType.getEnumConstants. throws: IllegalArgumentException - if the type argument is not an arraytype. |
getEnum | public String getEnum()(Code) | | Returns the enum constant String for an enum type, or null for a complex
type or an array type. The String returned will be one of the Strings
returned by
RawType.getEnumConstants .
|
getSuper | public RawObject getSuper()(Code) | | Returns the instance of the superclass, or null if the superclass is
Object or
Enum .
|
getType | public RawType getType()(Code) | | Returns the raw type information for this raw object.
Note that if this object is unevolved, the returned type may be
different from the current type returned by
EntityModel.getRawType EntityModel.getRawType for the same class name.
This can only occur in a
Conversion.convertConversion.convert .
|
hashCode | public int hashCode()(Code) | | |
|
|