public class SimpleBeanPropertyDefinition extends BeanPropertyDefinition
BeanPropertyDefinition implementation that can
 be wrapped around a AnnotatedMember that is a simple
 accessor (getter) or mutator (setter, constructor parameter)
 (or both, for fields).| Modifier and Type | Field and Description | 
|---|---|
| protected AnnotationIntrospector | _introspector | 
| protected AnnotatedMember | _memberMember that defines logical property. | 
| protected String | _name | 
| Constructor and Description | 
|---|
| SimpleBeanPropertyDefinition(AnnotatedMember member)Deprecated.  | 
| SimpleBeanPropertyDefinition(AnnotatedMember member,
                            String name)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| static SimpleBeanPropertyDefinition | construct(MapperConfig<?> config,
         AnnotatedMember member) | 
| static SimpleBeanPropertyDefinition | construct(MapperConfig<?> config,
         AnnotatedMember member,
         String name) | 
| AnnotatedMember | getAccessor()Method used to find accessor (getter, field to access) to use for accessing
 value of the property. | 
| AnnotatedParameter | getConstructorParameter() | 
| AnnotatedField | getField() | 
| AnnotatedMethod | getGetter() | 
| String | getInternalName()Accessor that can be used to determine implicit name from underlying
 element(s) before possible renaming. | 
| AnnotatedMember | getMutator()Method used to find mutator (constructor parameter, setter, field) to use for
 changing value of the property. | 
| String | getName()Accessor for name used for external representation (in JSON). | 
| AnnotatedMember | getPrimaryMember()Method used to find the property member (getter, setter, field) that has
 the highest precedence in current context (getter method when serializing,
 if available, and so forth), if any. | 
| AnnotatedMethod | getSetter() | 
| PropertyName | getWrapperName()Accessor for finding wrapper name to use for property (if any). | 
| boolean | hasConstructorParameter() | 
| boolean | hasField() | 
| boolean | hasGetter() | 
| boolean | hasSetter() | 
| boolean | isExplicitlyIncluded()Accessor that can be called to check whether property was included
 due to an explicit marker (usually annotation), or just by naming
 convention. | 
| SimpleBeanPropertyDefinition | withName(String newName)Method that can be used to create a definition with
 same settings as this one, but with different
 (external) name; that is, one for which
  BeanPropertyDefinition.getName()would returnnewName. | 
couldDeserialize, couldSerialize, findObjectIdInfo, findReferenceType, findViews, isRequired, isTypeIdprotected final AnnotationIntrospector _introspector
protected final AnnotatedMember _member
protected final String _name
@Deprecated public SimpleBeanPropertyDefinition(AnnotatedMember member)
@Deprecated public SimpleBeanPropertyDefinition(AnnotatedMember member, String name)
public static SimpleBeanPropertyDefinition construct(MapperConfig<?> config, AnnotatedMember member)
public static SimpleBeanPropertyDefinition construct(MapperConfig<?> config, AnnotatedMember member, String name)
public SimpleBeanPropertyDefinition withName(String newName)
BeanPropertyDefinitionBeanPropertyDefinition.getName() would return newName.withName in class BeanPropertyDefinitionpublic String getName()
BeanPropertyDefinitiongetName in interface NamedgetName in class BeanPropertyDefinitionpublic String getInternalName()
BeanPropertyDefinitiongetInternalName in class BeanPropertyDefinitionpublic PropertyName getWrapperName()
BeanPropertyDefinitiongetWrapperName in class BeanPropertyDefinitionpublic boolean isExplicitlyIncluded()
BeanPropertyDefinitionisExplicitlyIncluded in class BeanPropertyDefinitionpublic boolean hasGetter()
hasGetter in class BeanPropertyDefinitionpublic boolean hasSetter()
hasSetter in class BeanPropertyDefinitionpublic boolean hasField()
hasField in class BeanPropertyDefinitionpublic boolean hasConstructorParameter()
hasConstructorParameter in class BeanPropertyDefinitionpublic AnnotatedMethod getGetter()
getGetter in class BeanPropertyDefinitionpublic AnnotatedMethod getSetter()
getSetter in class BeanPropertyDefinitionpublic AnnotatedField getField()
getField in class BeanPropertyDefinitionpublic AnnotatedParameter getConstructorParameter()
getConstructorParameter in class BeanPropertyDefinitionpublic AnnotatedMember getAccessor()
getAccessor in class BeanPropertyDefinitionpublic AnnotatedMember getMutator()
getMutator in class BeanPropertyDefinitionpublic AnnotatedMember getPrimaryMember()
BeanPropertyDefinitiongetPrimaryMember in class BeanPropertyDefinitionCopyright © 2012-2013 FasterXML. All Rights Reserved.