org.codehaus.jackson.map
Class BeanDescription

java.lang.Object
  extended by org.codehaus.jackson.map.BeanDescription
Direct Known Subclasses:
BasicBeanDescription

public abstract class BeanDescription
extends Object

Basic container for information gathered by ClassIntrospector to help in constructing serializers and deserializers.

Author:
tatu

Field Summary
protected  JavaType _type
          Bean type information, including raw class and possible * generics information
 
Constructor Summary
protected BeanDescription(JavaType type)
           
 
Method Summary
abstract  LinkedHashMap<String,AnnotatedMethod> findGetters(VisibilityChecker<?> visibilityChecker, Collection<String> ignoredProperties)
           
abstract  LinkedHashMap<String,AnnotatedMethod> findSetters(VisibilityChecker<?> vchecker)
           
 Class<?> getBeanClass()
           
 JavaType getType()
          Method for accessing declared type of bean being introspected, including full generic type information (from declaration)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_type

protected final JavaType _type
Bean type information, including raw class and possible * generics information

Constructor Detail

BeanDescription

protected BeanDescription(JavaType type)
Method Detail

getType

public JavaType getType()
Method for accessing declared type of bean being introspected, including full generic type information (from declaration)


getBeanClass

public Class<?> getBeanClass()

findGetters

public abstract LinkedHashMap<String,AnnotatedMethod> findGetters(VisibilityChecker<?> visibilityChecker,
                                                                  Collection<String> ignoredProperties)
Parameters:
visibilityChecker - Object that determines whether methods have enough visibility to be auto-detectable as getters
ignoredProperties - (optional, may be null) Names of properties to ignore; getters for these properties are not to be returned.
Returns:
Ordered Map with logical property name as key, and matching getter method as value.

findSetters

public abstract LinkedHashMap<String,AnnotatedMethod> findSetters(VisibilityChecker<?> vchecker)
Parameters:
vchecker - (optional) Object that determines whether specific methods have enough visibility to be considered as auto-detectable setters. If null, auto-detection is disabled
Returns:
Ordered Map with logical property name as key, and matching setter method as value.