Package | Description |
---|---|
org.datanucleus.identity |
Package defining object identity classes.
|
org.datanucleus.metadata |
Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.
|
org.datanucleus.store.schema.table |
Provides a series of convenience classes for modelling tables and columns that a class and its members map onto.
|
org.datanucleus.util |
Provides utility classes used in the implementation that don't fit in a particular functional part of the system.
|
Modifier and Type | Method and Description |
---|---|
static Object |
IdentityUtils.getObjectFromIdString(String idStr,
AbstractMemberMetaData mmd,
FieldRole fieldRole,
ExecutionContext ec,
boolean checkInheritance)
Convenience method to find an object given a string form of its identity, and the metadata for the member.
|
Modifier and Type | Method and Description |
---|---|
static FieldRole |
FieldRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldRole[] |
FieldRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
String[] |
MetaDataUtils.getImplementationNamesForReferenceField(AbstractMemberMetaData fmd,
FieldRole fieldRole,
ClassLoaderResolver clr,
MetaDataManager mmgr)
Convenience method to return the class names of the available implementation types for
an interface/Object field, given its required role.
|
Modifier and Type | Field and Description |
---|---|
protected Map<FieldRole,TypeConverter> |
MemberColumnMappingImpl.componentConverters |
Modifier and Type | Method and Description |
---|---|
TypeConverter |
MemberColumnMapping.getTypeConverterForComponent(FieldRole role)
Accessor for a component (collection element, map key, map value) converter if defined.
|
TypeConverter |
MemberColumnMappingImpl.getTypeConverterForComponent(FieldRole role) |
void |
MemberColumnMapping.setTypeConverterForComponent(FieldRole role,
TypeConverter conv)
Method to set a component TypeConverter for such as a collection element, map key or map value.
|
void |
MemberColumnMappingImpl.setTypeConverterForComponent(FieldRole role,
TypeConverter conv) |
Modifier and Type | Method and Description |
---|---|
static Object |
TypeConversionHelper.getEnumForStoredValue(AbstractMemberMetaData mmd,
FieldRole role,
Object value,
ClassLoaderResolver clr) |
static JdbcType |
TypeConversionHelper.getJdbcTypeForEnum(AbstractMemberMetaData mmd,
FieldRole role,
ClassLoaderResolver clr) |
static Object |
TypeConversionHelper.getStoredValueFromEnum(AbstractMemberMetaData mmd,
FieldRole role,
Enum myEnum)
Convenience method to return the "value" of an Enum, for a field and role.
|
Copyright © 2019. All rights reserved.