Uses of Interface
org.datanucleus.store.types.converters.TypeConverter
Packages that use TypeConverter
Package
Description
Provides a series of convenience classes for modelling tables and columns that a class and its members map onto.
Package providing basic java type handling for DataNucleus.
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 TypeConverter in org.datanucleus.store.schema.table
Fields in org.datanucleus.store.schema.table declared as TypeConverterFields in org.datanucleus.store.schema.table with type parameters of type TypeConverterModifier and TypeFieldDescriptionprotected Map<FieldRole, TypeConverter> MemberColumnMappingImpl.componentConvertersMethods in org.datanucleus.store.schema.table that return TypeConverterModifier and TypeMethodDescriptionMemberColumnMapping.getTypeConverter()Accessor for the TypeConverter to use for this member-column (if any).MemberColumnMappingImpl.getTypeConverter()MemberColumnMapping.getTypeConverterForComponent(FieldRole role) Accessor for a component (collection element, map key, map value) converter if defined.MemberColumnMappingImpl.getTypeConverterForComponent(FieldRole role) protected TypeConverterCompleteClassTable.getTypeConverterForMember(AbstractMemberMetaData mmd, ColumnMetaData[] colmds, TypeManager typeMgr) SchemaVerifier.verifyTypeConverterForMember(AbstractMemberMetaData mmd, TypeConverter conv) Method to allow the verifier to approve, override, or null out the TypeConverter to be used for a member.Methods in org.datanucleus.store.schema.table with parameters of type TypeConverterModifier and TypeMethodDescriptionprotected ColumnImplCompleteClassTable.addEmbeddedColumn(String colName, TypeConverter typeConv) voidMemberColumnMapping.setTypeConverter(TypeConverter typeConv) Method to set the TypeConverter used by this member-column.voidMemberColumnMappingImpl.setTypeConverter(TypeConverter typeConv) 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) SchemaVerifier.verifyTypeConverterForMember(AbstractMemberMetaData mmd, TypeConverter conv) Method to allow the verifier to approve, override, or null out the TypeConverter to be used for a member.Constructors in org.datanucleus.store.schema.table with parameters of type TypeConverterModifierConstructorDescriptionMemberColumnMappingImpl(AbstractMemberMetaData mmd, Column[] cols, TypeConverter typeConv) -
Uses of TypeConverter in org.datanucleus.store.types
Fields in org.datanucleus.store.types with type parameters of type TypeConverterModifier and TypeFieldDescriptionprotected Map<String, TypeConverter> TypeManagerImpl.autoApplyConvertersByTypeMap of TypeConverter keyed by type name that we should default to for this type (user-defined).protected Map<String, TypeConverter> TypeManagerImpl.typeConverterByNameMap of TypeConverter keyed by their symbolic name.protected Map<TypeConverter, Class> TypeManagerImpl.typeConverterDatastoreTypeByConverterCache of TypeConverter datastore type, keyed by the converter.protected Map<Class, Map<Class, TypeConverter>> TypeManagerImpl.typeConverterMapMap of (Map of TypeConverter keyed by the datastore type), keyed by the member type.protected Map<TypeConverter, Class> TypeManagerImpl.typeConverterMemberTypeByConverterCache of TypeConverter member type, keyed by the converter.Methods in org.datanucleus.store.types that return TypeConverterModifier and TypeMethodDescriptionTypeManager.getAutoApplyTypeConverterForType(Class memberType) Method to return a TypeConverter that should be applied by default for the specified java (member) type.TypeManagerImpl.getAutoApplyTypeConverterForType(Class memberType) TypeManager.getDefaultTypeConverterForType(Class memberType) Accessor for the default type converter for the provided Java type.TypeManagerImpl.getDefaultTypeConverterForType(Class memberType) TypeManager.getTypeConverterForName(String converterName) Accessor for the type converter with the provided name.TypeManagerImpl.getTypeConverterForName(String converterName) TypeManager.getTypeConverterForType(Class memberType, Class datastoreType) Accessor for the type converter for the provided Java type and its datastore type.TypeManagerImpl.getTypeConverterForType(Class memberType, Class datastoreType) Methods in org.datanucleus.store.types that return types with arguments of type TypeConverterModifier and TypeMethodDescriptionTypeManager.getTypeConvertersForType(Class memberType) Accessor for the available type converters for the provided Java type.TypeManagerImpl.getTypeConvertersForType(Class memberType) Methods in org.datanucleus.store.types with parameters of type TypeConverterModifier and TypeMethodDescriptionTypeManager.getDatastoreTypeForTypeConverter(TypeConverter conv, Class memberType) Method to return the datastore type for the specified TypeConverter.TypeManagerImpl.getDatastoreTypeForTypeConverter(TypeConverter conv, Class memberType) Method to return the datastore type for the specified TypeConverter.TypeManager.getMemberTypeForTypeConverter(TypeConverter conv, Class datastoreType) Method to return the member type for the specified TypeConverter.TypeManagerImpl.getMemberTypeForTypeConverter(TypeConverter conv, Class datastoreType) Method to return the member type for the specified TypeConverter.voidTypeManager.registerConverter(String name, TypeConverter converter, Class memberType, Class dbType, boolean autoApply, String autoApplyType) Register a TypeConverter with the TypeManager process for specific attribute/db types.voidTypeManagerImpl.registerConverter(String name, TypeConverter converter, Class memberType, Class dbType, boolean autoApply, String autoApplyType) -
Uses of TypeConverter in org.datanucleus.store.types.converters
Classes in org.datanucleus.store.types.converters that implement TypeConverterModifier and TypeClassDescriptionclassConvenience class to handle Java serialisation of a BigDecimal[] object to/from ByteBuffer.classClass to handle the conversion between java.math.BigDecimal and a Double form.classClass to handle the conversion between java.math.BigDecimal and a String form.classConvenience class to handle Java serialisation of a BigInteger[] object to/from ByteBuffer.classClass to handle the conversion between java.math.BigInteger and a Long form.classClass to handle the conversion between java.math.BigInteger and a String form.classClass to handle the conversion between java.util.BitSet and a String form.classConvenience class to handle Java serialisation of a boolean[] object to/from ByteBuffer.classClass to handle the conversion between java.lang.Boolean and an Integer (0, 1) form.classClass to handle the conversion between java.lang.Boolean and a Character ("Y", "N") form.classConvenience class to handle Java serialisation of a BufferedImage object to/from byte[].classConvenience class to handle Java serialisation of a BufferedImage object to/from ByteBuffer.classConvenience class to handle Java serialisation of a byte[] object to/from ByteBuffer.classConvenience class to handle Java serialisation of a Byte[] object to/from ByteBuffer.classClass to handle the conversion between java.util.Calendar and (Long, String) being the time in millisecs plus the timezone.classClass to handle the conversion between java.util.Calendar and a java.util.Date form.classClass to handle the conversion between java.util.Calendar and a String form.classClass to handle the conversion between java.util.Calendar and a java.sql.Timestamp.classClass to handle the conversion between Character and a String form.classConvenience class to handle Java serialisation of a char[] object to/from ByteBuffer.classClass to handle the conversion between java.lang.Class and a String form.classTypeConverter for storing a java.awt.Color as its 4 components (red, green, blue, alpha).classClass to handle the conversion between java.awt.Color (RGBA) and a String form.classClass to handle the conversion between java.util.Currency and a String form.classClass to handle the conversion between java.util.Date and a Long form.classClass to handle the conversion between java.util.Date and a String form.classConvenience class to handle Java serialisation of a double[] object to/from ByteBuffer.classClass to handle the conversion between java.time.Duration and a Double form.classClass to handle the conversion between java.time.Duration and a Long form.classClass to handle the conversion between java.time.Duration and a String form.classConvenience class to handle Java serialisation of a float[] object to/from ByteBuffer.classClass to handle the conversion between java.time.Instant and java.util.Date.classClass to handle the conversion between java.time.Instant and Long (of the epoch millisecs).classClass to handle the conversion between java.time.Instant and a String form.classClass to handle the conversion between java.time.Instant and java.sql.TimestampclassConvenience class to handle Java serialisation of a int[] object to/from ByteBuffer.classClass to handle the conversion between java.lang.Integer and a String form.classClass to handle the conversion between java.time.LocalDate and java.util.Date.classClass to handle the conversion between java.time.LocalDate and java.sql.Date.classClass to handle the conversion between java.time.LocalDate and a String form.classClass to handle the conversion between java.time.LocalDateTime and java.util.Date.classClass to handle the conversion between java.time.LocalDateTime and a String form.classClass to handle the conversion between java.time.LocalDateTime and java.sql.TimestampclassClass to handle the conversion between java.util.Locale and a String form.classClass to handle the conversion between java.time.LocalTime and java.util.Date.classClass to handle the conversion between java.time.LocalTime and a long form (nanos of day).classClass to handle the conversion between java.time.LocalTime and java.sql.Time.classClass to handle the conversion between java.time.LocalTime and a String form.classConvenience class to handle Java serialisation of a long[] object to/from ByteBuffer.classClass to handle the conversion between java.lang.Long and a String form.classClass to handle the conversion between java.time.MonthDay and int[] (the month and the day).classClass to handle the conversion between java.time.MonthDay and java.util.Date.classClass to handle the conversion between java.time.MonthDay and java.sql.Date.classClass to handle the conversion between java.time.MonthDay and String.classClass to handle the conversion between java.time.OffsetDateTime and java.util.Date.classClass to handle the conversion between java.time.OffsetDateTime and a String form.classClass to handle the conversion between java.time.OffsetDateTime and java.sql.TimestampclassClass to handle the conversion between java.time.OffsetTime and a long form (nanos of day).classClass to handle the conversion between java.time.OffsetTime and java.sql.Time.classClass to handle the conversion between java.time.OffsetTime and a String form.classClass to handle the conversion between java.time.Period and int[] (year, month and day).classClass to handle the conversion between java.time.Period and a String form.classConvenience class to handle Java serialisation of a Serializable object to/from byte[].classConvenience class to handle Java serialisation of a Serializable object to/from ByteBuffer.classConvenience class to handle Java serialisation of a Serializable object to/from String.classConvenience class to handle Java serialisation of a short[] object to/from ByteBuffer.classClass to handle the conversion between java.sql.Date and a java.util.Date form.classClass to handle the conversion between java.sql.Date and a Long form.classClass to handle the conversion between java.sql.Date and a String form.classClass to handle the conversion between java.sql.Time and a java.util.Date form.classClass to handle the conversion between java.sql.Time and a Long form.classClass to handle the conversion between java.sql.Timestamp and a java.util.Date form.classClass to handle the conversion between java.sql.Timestamp and a Long form.classClass to handle the conversion between java.sql.Timestamp and a String form.classClass to handle the conversion between java.sql.Time and a String form.classClass to handle the conversion between java.lang.StringBuffer and a String form.classClass to handle the conversion between java.lang.StringBuilder and a String form.classClass to handle the conversion between java.util.TimeZone and a String form.classClass to handle the conversion between java.net.URI and a String form.classClass to handle the conversion between java.net.URL and a String form.classClass to handle the conversion between java.util.UUID and a String form.classClass to handle the conversion between java.time.Year and Integer.classClass to handle the conversion between java.time.YearMonth and int[] (the year and the month).classClass to handle the conversion between java.time.YearMonth and java.util.Date.classClass to handle the conversion between java.time.YearMonth and java.sql.Date.classClass to handle the conversion between java.time.YearMonth and String.classClass to handle the conversion between java.time.Year and String.classClass to handle the conversion between java.time.ZonedDateTime and a String form.classClass to handle the conversion between java.time.ZonedDateTime and java.sql.Timestamp.classClass to handle the conversion between java.time.ZoneId and String.classClass to handle the conversion between java.time.ZoneOffset and String.