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,
Object source,
BeanMatch beanMatch) |
PropertyAccessor |
getProperty() |
boolean |
hasNext() |
boolean |
isMustMatch() |
boolean |
isUnmatched() |
void |
setCollectionInstructions(BeanCollectionInstructions collectionInstructions) |
void |
setMatched() |
void |
setMustMatch(boolean mustMatch) |
void |
setNext(BeanField next) |
Object |
writeObject(Object value,
Object parent,
Object source,
BeanMatch beanMatch) |
public BeanField(String name, PropertyAccessor accessor)
public boolean isMustMatch()
public void setMustMatch(boolean mustMatch)
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, Object source, BeanMatch beanMatch) throws BeanMappingException
BeanMappingException
public Object writeObject(Object value, Object parent, Object source, BeanMatch beanMatch) throws BeanMappingException
BeanMappingException
public static BeanField determineNodesForPath(Class<?> baseClass, String path)
public static BeanField determineNodesForPath(Class<?> baseClass, String path, BeanField prefixingBeanField)
public void setMatched()
public boolean isUnmatched()
Copyright © 2015–2017 42 BV. All rights reserved.