com.fasterxml.jackson.module.mrbean
Class POJOProperty
java.lang.Object
com.fasterxml.jackson.module.mrbean.POJOProperty
public class POJOProperty
- extends Object
Bean that contains information about a single logical
POJO property. Properties consist of a getter and/or setter,
and are used to generate getter and setter methods and matching
backing field.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_name
protected final String _name
_fieldName
protected final String _fieldName
_context
protected final Class<?> _context
- Class in which setter/getter was declared, needed for resolving
generic types.
_getter
protected Method _getter
_setter
protected Method _setter
POJOProperty
public POJOProperty(String name,
Class<?> ctxt)
getName
public String getName()
setGetter
public void setGetter(Method m)
setSetter
public void setSetter(Method m)
getGetter
public Method getGetter()
getSetter
public Method getSetter()
getFieldName
public String getFieldName()
hasConcreteGetter
public boolean hasConcreteGetter()
hasConcreteSetter
public boolean hasConcreteSetter()
selectType
public com.fasterxml.jackson.module.mrbean.BeanBuilder.TypeDescription selectType(com.fasterxml.jackson.databind.type.TypeFactory tf)
Copyright © 2012 FasterXML. All Rights Reserved.