Spring Data Commons

Uses of Interface
org.springframework.data.util.TypeInformation

Packages that use TypeInformation
org.springframework.data.convert   
org.springframework.data.mapping   
org.springframework.data.mapping.context   
org.springframework.data.mapping.event   
org.springframework.data.mapping.model   
org.springframework.data.util   
 

Uses of TypeInformation in org.springframework.data.convert
 

Methods in org.springframework.data.convert that return TypeInformation
protected  TypeInformation<?> DefaultTypeMapper.getFallbackTypeFor(S source)
          Returns the type fallback TypeInformation in case none could be extracted from the given source.
 TypeInformation<?> TypeMapper.readType(S source)
          Reads the TypeInformation from the given source.
 TypeInformation<?> DefaultTypeMapper.readType(S source)
           
<T> TypeInformation<? extends T>
TypeMapper.readType(S source, TypeInformation<T> defaultType)
          Returns the TypeInformation from the given source if it is a more concrete type than the given default one.
<T> TypeInformation<? extends T>
DefaultTypeMapper.readType(S source, TypeInformation<T> basicType)
           
 TypeInformation<?> TypeInformationMapper.resolveTypeFrom(java.lang.Object alias)
          Returns the actual TypeInformation to be used for the given alias.
 TypeInformation<?> SimpleTypeInformationMapper.resolveTypeFrom(java.lang.Object source)
          Returns the TypeInformation that shall be used when the given String value is found as type hint.
 TypeInformation<?> ConfigurableTypeInformationMapper.resolveTypeFrom(java.lang.Object alias)
           
 

Methods in org.springframework.data.convert with parameters of type TypeInformation
 java.lang.Object TypeInformationMapper.createAliasFor(TypeInformation<?> type)
          Returns the alias to be used for the given TypeInformation.
 java.lang.String SimpleTypeInformationMapper.createAliasFor(TypeInformation<?> type)
          Turn the given type information into the String representation that shall be stored.
 java.lang.Object ConfigurableTypeInformationMapper.createAliasFor(TypeInformation<?> type)
           
<T> TypeInformation<? extends T>
TypeMapper.readType(S source, TypeInformation<T> defaultType)
          Returns the TypeInformation from the given source if it is a more concrete type than the given default one.
<T> TypeInformation<? extends T>
DefaultTypeMapper.readType(S source, TypeInformation<T> basicType)
           
 void TypeMapper.writeType(TypeInformation<?> type, S dbObject)
          Writes type information for the given TypeInformation into the given sink.
 void DefaultTypeMapper.writeType(TypeInformation<?> info, S sink)
           
 

Uses of TypeInformation in org.springframework.data.mapping
 

Methods in org.springframework.data.mapping that return TypeInformation
 TypeInformation<?> PropertyPath.getOwningType()
          Returns the owning type of the PropertyPath.
 TypeInformation<T> PreferredConstructor.Parameter.getType()
          Returns the TypeInformation of the parameter.
 TypeInformation<?> PersistentProperty.getTypeInformation()
           
 TypeInformation<T> PersistentEntity.getTypeInformation()
          Returns the TypeInformation backing this PersistentEntity.
 

Methods in org.springframework.data.mapping that return types with arguments of type TypeInformation
 java.lang.Iterable<? extends TypeInformation<?>> PersistentProperty.getPersistentEntityType()
          Returns the TypeInformation if the property references a PersistentEntity.
 

Methods in org.springframework.data.mapping with parameters of type TypeInformation
static PropertyPath PropertyPath.from(java.lang.String source, TypeInformation<?> type)
          Extracts the PropertyPath chain from the given source String and TypeInformation.
 

Constructors in org.springframework.data.mapping with parameters of type TypeInformation
PreferredConstructor.Parameter(java.lang.String name, TypeInformation<T> type, java.lang.annotation.Annotation[] annotations, PersistentEntity<T,P> entity)
          Creates a new PreferredConstructor.Parameter with the given name, TypeInformation as well as an array of Annotations.
 

Uses of TypeInformation in org.springframework.data.mapping.context
 

Methods in org.springframework.data.mapping.context with parameters of type TypeInformation
protected  E AbstractMappingContext.addPersistentEntity(TypeInformation<?> typeInformation)
          Adds the given TypeInformation to the MappingContext.
protected abstract
<T> E
AbstractMappingContext.createPersistentEntity(TypeInformation<T> typeInformation)
          Creates the concrete PersistentEntity instance.
 E MappingContext.getPersistentEntity(TypeInformation<?> type)
          Returns a PersistentEntity for the given TypeInformation.
 E AbstractMappingContext.getPersistentEntity(TypeInformation<?> type)
           
 

Uses of TypeInformation in org.springframework.data.mapping.event
 

Methods in org.springframework.data.mapping.event that return TypeInformation
 TypeInformation<?> MappingContextEvent.getTypeInformation()
           
 

Constructors in org.springframework.data.mapping.event with parameters of type TypeInformation
MappingContextEvent(E source, TypeInformation<?> typeInformation)
           
 

Uses of TypeInformation in org.springframework.data.mapping.model
 

Fields in org.springframework.data.mapping.model declared as TypeInformation
protected  TypeInformation<?> AbstractPersistentProperty.information
           
 

Methods in org.springframework.data.mapping.model that return TypeInformation
 TypeInformation<T> BasicPersistentEntity.getTypeInformation()
           
 TypeInformation<?> AbstractPersistentProperty.getTypeInformation()
           
 

Methods in org.springframework.data.mapping.model that return types with arguments of type TypeInformation
 java.lang.Iterable<? extends TypeInformation<?>> AbstractPersistentProperty.getPersistentEntityType()
           
 

Constructors in org.springframework.data.mapping.model with parameters of type TypeInformation
BasicPersistentEntity(TypeInformation<T> information)
          Creates a new BasicPersistentEntity from the given TypeInformation.
BasicPersistentEntity(TypeInformation<T> information, java.util.Comparator<P> comparator)
          Creates a new BasicPersistentEntity for the given TypeInformation and Comparator.
PreferredConstructorDiscoverer(TypeInformation<T> type, PersistentEntity<T,P> entity)
          Creates a new PreferredConstructorDiscoverer for the given type.
 

Uses of TypeInformation in org.springframework.data.util
 

Classes in org.springframework.data.util that implement TypeInformation
 class ClassTypeInformation<S>
          TypeInformation for a plain Class.
 class ParentTypeAwareTypeInformation<S>
          Base class for TypeInformation implementations that need parent type awareness.
 

Fields in org.springframework.data.util declared as TypeInformation
static TypeInformation<java.util.Collection> ClassTypeInformation.COLLECTION
           
static TypeInformation<java.util.List> ClassTypeInformation.LIST
           
static TypeInformation<java.util.Map> ClassTypeInformation.MAP
           
static TypeInformation<java.lang.Object> ClassTypeInformation.OBJECT
           
static TypeInformation<java.util.Set> ClassTypeInformation.SET
           
 

Methods in org.springframework.data.util that return TypeInformation
protected  TypeInformation<?> ParentTypeAwareTypeInformation.createInfo(java.lang.reflect.Type fieldType)
           
static
<S> TypeInformation<S>
ClassTypeInformation.from(java.lang.Class<S> type)
          Simple factory method to easily create new instances of ClassTypeInformation.
static
<S> TypeInformation<S>
ClassTypeInformation.fromReturnTypeOf(java.lang.reflect.Method method)
          Creates a TypeInformation from the given method's return type.
 TypeInformation<?> TypeInformation.getActualType()
          Transparently returns the Map value type if the type is a Map, returns the component type if the type isCollectionLike() or the simple type if none of this applies.
 TypeInformation<?> TypeInformation.getComponentType()
          Returns the component type for Collections or the key type for Maps.
 TypeInformation<?> ClassTypeInformation.getComponentType()
           
 TypeInformation<?> TypeInformation.getMapValueType()
          Will return the type of the value in case the underlying type is a Map.
 TypeInformation<?> TypeInformation.getProperty(java.lang.String fieldname)
          Returns the property information for the property with the given name.
 TypeInformation<?> TypeInformation.getReturnType(java.lang.reflect.Method method)
          Returns a TypeInformation for the return type of the given Method.
 

Methods in org.springframework.data.util that return types with arguments of type TypeInformation
 java.util.List<TypeInformation<?>> TypeInformation.getParameterTypes(java.lang.reflect.Constructor<?> constructor)
           
 


Spring Data Commons

Copyright © 2012. All Rights Reserved.