info.magnolia.content2bean
Interface TypeMapping

All Known Implementing Classes:
DescriptorFileBasedTypeMapping, PropertiesBasedTypeMapping, TypeMappingImpl

public interface TypeMapping

Contract for mapping of the type and its properties to appropriate java beans.

Version:
$Id$
Author:
philipp

Nested Class Summary
static class TypeMapping.Factory
          Deprecated. since 4.5, use IoC.
 
Field Summary
static TypeDescriptor MAP_TYPE
           
 
Method Summary
 void addPropertyTypeDescriptor(Class<?> beanClass, String propName, PropertyTypeDescriptor dscr)
          Deprecated. since 4.5 - unused
 void addTypeDescriptor(Class<?> beanClass, TypeDescriptor dscr)
          Deprecated. since 4.5 - should not be part of the interface
 PropertyTypeDescriptor getPropertyTypeDescriptor(Class<?> beanClass, String propName)
           
 TypeDescriptor getTypeDescriptor(Class<?> beanClass)
           
 

Field Detail

MAP_TYPE

static final TypeDescriptor MAP_TYPE
Method Detail

getPropertyTypeDescriptor

PropertyTypeDescriptor getPropertyTypeDescriptor(Class<?> beanClass,
                                                 String propName)

getTypeDescriptor

TypeDescriptor getTypeDescriptor(Class<?> beanClass)

addPropertyTypeDescriptor

void addPropertyTypeDescriptor(Class<?> beanClass,
                               String propName,
                               PropertyTypeDescriptor dscr)
Deprecated. since 4.5 - unused


addTypeDescriptor

void addTypeDescriptor(Class<?> beanClass,
                       TypeDescriptor dscr)
Deprecated. since 4.5 - should not be part of the interface



Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.