info.magnolia.jcr.node2bean.impl
Class TypeMappingImpl

java.lang.Object
  extended by info.magnolia.jcr.node2bean.impl.TypeMappingImpl
All Implemented Interfaces:
TypeMapping

public class TypeMappingImpl
extends Object
implements TypeMapping

Basic type mapping implementation.


Field Summary
 
Fields inherited from interface info.magnolia.jcr.node2bean.TypeMapping
MAP_TYPE
 
Constructor Summary
TypeMappingImpl()
           
 
Method Summary
 Method getAddMethod(Class<?> type, String name, int numberOfParameters)
          Deprecated. since 5.0 - use setters
protected  Method getExactMethod(Class<?> type, String name, int numberOfParameters)
          Deprecated. since 5.0 - use setters
 PropertyTypeDescriptor getPropertyTypeDescriptor(Class<?> beanClass, String propName)
           
 TypeDescriptor getTypeDescriptor(Class<?> beanClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeMappingImpl

public TypeMappingImpl()
Method Detail

getPropertyTypeDescriptor

public PropertyTypeDescriptor getPropertyTypeDescriptor(Class<?> beanClass,
                                                        String propName)
Specified by:
getPropertyTypeDescriptor in interface TypeMapping

getTypeDescriptor

public TypeDescriptor getTypeDescriptor(Class<?> beanClass)
Specified by:
getTypeDescriptor in interface TypeMapping

getAddMethod

public Method getAddMethod(Class<?> type,
                           String name,
                           int numberOfParameters)
Deprecated. since 5.0 - use setters

Get a adder method. Transforms name to singular.


getExactMethod

protected Method getExactMethod(Class<?> type,
                                String name,
                                int numberOfParameters)
Deprecated. since 5.0 - use setters

Find a method.

Parameters:
numberOfParameters -


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