|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.jackson.map.BeanDescription
public abstract class BeanDescription
Basic container for information gathered by ClassIntrospector to
help in constructing serializers and deserializers.
Note that the main implementation type is
BasicBeanDescription,
meaning that it is safe to upcast to this type.
| Field Summary | |
|---|---|
protected JavaType |
_type
Bean type information, including raw class and possible * generics information |
| Constructor Summary | |
|---|---|
protected |
BeanDescription(JavaType type)
|
| Method Summary | |
|---|---|
abstract TypeBindings |
bindingsForBeanType()
Accessor for type bindings that may be needed to fully resolve types of member object, such as return and argument types of methods and constructors, and types of fields. |
abstract LinkedHashMap<String,AnnotatedMethod> |
findGetters(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
|
abstract LinkedHashMap<String,AnnotatedMethod> |
findSetters(VisibilityChecker<?> vchecker)
|
Class<?> |
getBeanClass()
|
abstract Annotations |
getClassAnnotations()
Method for accessing collection of annotations the bean class has. |
JavaType |
getType()
Method for accessing declared type of bean being introspected, including full generic type information (from declaration) |
abstract boolean |
hasKnownClassAnnotations()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final JavaType _type
| Constructor Detail |
|---|
protected BeanDescription(JavaType type)
| Method Detail |
|---|
public JavaType getType()
public Class<?> getBeanClass()
public abstract boolean hasKnownClassAnnotations()
public abstract TypeBindings bindingsForBeanType()
public abstract Annotations getClassAnnotations()
public abstract LinkedHashMap<String,AnnotatedMethod> findGetters(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
visibilityChecker - Object that determines whether
methods have enough visibility to be auto-detectable as gettersignoredProperties - (optional, may be null) Names of properties
to ignore; getters for these properties are not to be returned.
public abstract LinkedHashMap<String,AnnotatedMethod> findSetters(VisibilityChecker<?> vchecker)
vchecker - (optional) Object that determines whether specific methods
have enough visibility to be considered as auto-detectable setters.
If null, auto-detection is disabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||