Uses of Class
org.datanucleus.metadata.FieldRole
-
Packages that use FieldRole 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.store.types.converters Package providing type conversion for member types, using the interface TypeConverter allowing conversion between some member Java type, and a Java type suitable for persistence in the datastore. -
-
Uses of FieldRole in org.datanucleus.identity
Methods in org.datanucleus.identity with parameters of type FieldRole Modifier and Type Method Description static ObjectIdentityUtils. 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. -
Uses of FieldRole in org.datanucleus.metadata
Methods in org.datanucleus.metadata that return FieldRole Modifier and Type Method Description static FieldRoleFieldRole. 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.Methods in org.datanucleus.metadata with parameters of type FieldRole Modifier and Type Method 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.static JdbcTypeMetaDataUtils. getJdbcTypeForEnum(AbstractMemberMetaData mmd, FieldRole role, ClassLoaderResolver clr) -
Uses of FieldRole in org.datanucleus.store.schema.table
Fields in org.datanucleus.store.schema.table with type parameters of type FieldRole Modifier and Type Field Description protected Map<FieldRole,TypeConverter>MemberColumnMappingImpl. componentConvertersMethods in org.datanucleus.store.schema.table with parameters of type FieldRole Modifier and Type Method Description TypeConverterMemberColumnMapping. getTypeConverterForComponent(FieldRole role)Accessor for a component (collection element, map key, map value) converter if defined.TypeConverterMemberColumnMappingImpl. getTypeConverterForComponent(FieldRole role)voidMemberColumnMapping. setTypeConverterForComponent(FieldRole role, TypeConverter conv)Method to set a component TypeConverter for such as a collection element, map key or map value.voidMemberColumnMappingImpl. setTypeConverterForComponent(FieldRole role, TypeConverter conv) -
Uses of FieldRole in org.datanucleus.store.types.converters
Methods in org.datanucleus.store.types.converters with parameters of type FieldRole Modifier and Type Method Description static ObjectEnumConversionHelper. getEnumForStoredValue(AbstractMemberMetaData mmd, FieldRole role, Object value, ClassLoaderResolver clr)static ObjectEnumConversionHelper. getStoredValueFromEnum(AbstractMemberMetaData mmd, FieldRole role, Enum myEnum)Convenience method to return the "value" of an Enum, for a field and role.
-