|
||||||||||
| 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 AnnotatedMethod |
findAnyGetter()
|
abstract AnnotatedMethod |
findAnySetter()
|
abstract AnnotatedConstructor |
findDefaultConstructor()
|
abstract LinkedHashMap<String,AnnotatedField> |
findDeserializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
Deprecated. Since 1.9 use findProperties() |
abstract LinkedHashMap<String,AnnotatedMethod> |
findGetters(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
Deprecated. Since 1.9 use findProperties() |
abstract Map<Object,AnnotatedMember> |
findInjectables()
|
abstract AnnotatedMethod |
findJsonValueMethod()
|
abstract List<BeanPropertyDefinition> |
findProperties()
|
abstract Map<String,AnnotatedField> |
findSerializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
Deprecated. Since 1.9 use the non-deprecated version |
abstract LinkedHashMap<String,AnnotatedMethod> |
findSetters(VisibilityChecker<?> visibilityChecker)
Deprecated. Since 1.9 use findProperties() |
Class<?> |
getBeanClass()
|
abstract Annotations |
getClassAnnotations()
Method for accessing collection of annotations the bean class has. |
abstract AnnotatedClass |
getClassInfo()
|
abstract Set<String> |
getIgnoredPropertyNames()
|
JavaType |
getType()
Method for accessing declared type of bean being introspected, including full generic type information (from declaration) |
abstract boolean |
hasKnownClassAnnotations()
|
abstract JavaType |
resolveType(Type jdkType)
Method for resolving given JDK type, using this bean as the generic type resolution context. |
| 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 AnnotatedClass getClassInfo()
public abstract boolean hasKnownClassAnnotations()
public abstract TypeBindings bindingsForBeanType()
public abstract JavaType resolveType(Type jdkType)
public abstract Annotations getClassAnnotations()
public abstract List<BeanPropertyDefinition> findProperties()
public abstract Map<Object,AnnotatedMember> findInjectables()
public abstract AnnotatedMethod findAnyGetter()
public abstract AnnotatedMethod findAnySetter()
public abstract AnnotatedMethod findJsonValueMethod()
public abstract AnnotatedConstructor findDefaultConstructor()
public abstract Set<String> getIgnoredPropertyNames()
@Deprecated
public abstract LinkedHashMap<String,AnnotatedMethod> findGetters(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
findProperties()
@Deprecated public abstract LinkedHashMap<String,AnnotatedMethod> findSetters(VisibilityChecker<?> visibilityChecker)
findProperties()
@Deprecated
public abstract LinkedHashMap<String,AnnotatedField> findDeserializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
findProperties()
@Deprecated
public abstract Map<String,AnnotatedField> findSerializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||