Class BeanProperty.Std
java.lang.Object
org.codehaus.jackson.map.BeanProperty.Std
- All Implemented Interfaces:
BeanProperty, Named
- Direct Known Subclasses:
ValueInjector
- Enclosing interface:
BeanProperty
- Since:
- 1.7
-
Nested Class Summary
Nested classes/interfaces inherited from interface BeanProperty
BeanProperty.Std -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AnnotationsAnnotations defined in the context class (if any); may be null if no annotations were foundprotected final AnnotatedMemberPhysical entity (field, method or constructor argument) that is used to access value of property (or in case of constructor property, just placeholder)protected final Stringprotected final JavaType -
Constructor Summary
ConstructorsConstructorDescriptionStd(String name, JavaType type, Annotations contextAnnotations, AnnotatedMember member) -
Method Summary
Modifier and TypeMethodDescription<A extends Annotation>
AgetAnnotation(Class<A> acls) Method for finding annotation associated with this property; meaning annotation associated with one of entities used to access property.<A extends Annotation>
AgetContextAnnotation(Class<A> acls) Method for finding annotation associated with context of this property; usually class in which member is declared (or its subtype if processing subtype).Method for accessing primary physical entity that represents the property; annotated field, method or constructor property.getName()Method to get logical name of the propertygetType()Method to get declared type of the property.
-
Field Details
-
_name
-
_type
-
_member
Physical entity (field, method or constructor argument) that is used to access value of property (or in case of constructor property, just placeholder) -
_contextAnnotations
Annotations defined in the context class (if any); may be null if no annotations were found
-
-
Constructor Details
-
Std
-
-
Method Details
-
withType
-
getAnnotation
Description copied from interface:BeanPropertyMethod for finding annotation associated with this property; meaning annotation associated with one of entities used to access property.- Specified by:
getAnnotationin interfaceBeanProperty
-
getContextAnnotation
Description copied from interface:BeanPropertyMethod for finding annotation associated with context of this property; usually class in which member is declared (or its subtype if processing subtype).- Specified by:
getContextAnnotationin interfaceBeanProperty
-
getName
Description copied from interface:BeanPropertyMethod to get logical name of the property- Specified by:
getNamein interfaceBeanProperty- Specified by:
getNamein interfaceNamed
-
getType
Description copied from interface:BeanPropertyMethod to get declared type of the property.- Specified by:
getTypein interfaceBeanProperty
-
getMember
Description copied from interface:BeanPropertyMethod for accessing primary physical entity that represents the property; annotated field, method or constructor property.- Specified by:
getMemberin interfaceBeanProperty
-