|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.config.PropertyConfig org.beanio.config.BeanConfig
public class BeanConfig
A property configuration that describes a Java bean object. The bean class type is set using the type attribute, and its properties can be configured by adding child PropertyConfig instances.
Field Summary |
---|
Fields inherited from class org.beanio.config.PropertyConfig |
---|
LEFT, RIGHT |
Constructor Summary | |
---|---|
BeanConfig()
Constructs a new BeanConfig. |
Method Summary | |
---|---|
void |
addProperty(PropertyConfig fieldConfig)
Adds a property to this bean. |
PropertyConfig |
getProperty(int index)
Returns the property configuration at the given index. |
List<PropertyConfig> |
getPropertyList()
Returns a list of this bean's properties. |
boolean |
isBean()
Returns true to indicate this property is a bean. |
void |
setPropertyList(List<PropertyConfig> list)
Sets the list of properties that make up this bean. |
Methods inherited from class org.beanio.config.PropertyConfig |
---|
getCollection, getGetter, getMaxOccurs, getMinOccurs, getName, getSetter, getType, getXmlName, getXmlNamespace, getXmlPrefix, getXmlType, getXmlWrapper, isField, isIgnored, isNillable, setCollection, setGetter, setIgnored, setMaxOccurs, setMinOccurs, setName, setNillable, setSetter, setType, setXmlName, setXmlNamespace, setXmlPrefix, setXmlType, setXmlWrapper |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanConfig()
Method Detail |
---|
public boolean isBean()
isBean
in class PropertyConfig
public void addProperty(PropertyConfig fieldConfig)
fieldConfig
- the field configurationpublic List<PropertyConfig> getPropertyList()
public PropertyConfig getProperty(int index)
index
- the property index
IndexOutOfBoundsException
- if there is no property at the specified indexpublic void setPropertyList(List<PropertyConfig> list)
list
- the list of properties
|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |