public class BeanField extends Object
Constructor and Description |
---|
BeanField(String name,
PropertyAccessor accessor) |
Modifier and Type | Method and Description |
---|---|
static BeanField |
determineNodesForPath(Class<?> baseClass,
String path) |
static BeanField |
determineNodesForPath(Class<?> baseClass,
String path,
BeanField prefixingBeanField) |
BeanCollectionInstructions |
getCollectionInstructions() |
protected PropertyAccessor |
getCurrentField() |
String |
getName() |
BeanField |
getNext() |
Object |
getObject(Object object) |
Object |
getOrCreate(Object parent) |
PropertyAccessor |
getProperty() |
boolean |
hasNext() |
void |
setCollectionInstructions(BeanCollectionInstructions collectionInstructions) |
void |
setNext(BeanField next) |
Object |
writeObject(Object source,
Object parent) |
public BeanField(String name, PropertyAccessor accessor)
public String getName()
public BeanCollectionInstructions getCollectionInstructions()
public void setCollectionInstructions(BeanCollectionInstructions collectionInstructions)
public boolean hasNext()
public BeanField getNext()
public void setNext(BeanField next)
protected PropertyAccessor getCurrentField()
public PropertyAccessor getProperty()
public Object getObject(Object object) throws BeanMappingException
BeanMappingException
public Object getOrCreate(Object parent) throws BeanMappingException
BeanMappingException
public Object writeObject(Object source, Object parent) throws BeanMappingException
BeanMappingException
public static BeanField determineNodesForPath(Class<?> baseClass, String path)
Copyright © 2015 42 BV. All Rights Reserved.