|
BeanIO 1.2.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanio.config.NodeConfig
org.beanio.config.RecordConfig
public class RecordConfig
Stores configuration settings for a record. Records and groups are used to define the layout of stream.
| Field Summary |
|---|
| Fields inherited from class org.beanio.config.NodeConfig |
|---|
GROUP, RECORD |
| Constructor Summary | |
|---|---|
RecordConfig()
|
|
| Method Summary | |
|---|---|
BeanConfig |
getBean()
Returns the bean configuration this record is mapped to. |
Integer |
getMaxLength()
Returns the maximum length of the record. |
Integer |
getMinLength()
Returns the minimum length of the record. |
char |
getType()
Returns NodeConfig.RECORD |
void |
setBean(BeanConfig bean)
Sets the bean configuration this record is maps to. |
void |
setMaxLength(Integer maxLength)
Sets the maximum length of the record. |
void |
setMinLength(Integer minLength)
Sets the minimum length of the record. |
| Methods inherited from class org.beanio.config.NodeConfig |
|---|
getMaxOccurs, getMinOccurs, getName, getOrder, setMaxOccurs, setMinOccurs, setName, setOrder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecordConfig()
| Method Detail |
|---|
public char getType()
NodeConfig.RECORD
getType in class NodeConfigNodeConfig.RECORD or NodeConfig.GROUPpublic BeanConfig getBean()
public void setBean(BeanConfig bean)
bean - the bean configurationpublic Integer getMinLength()
public void setMinLength(Integer minLength)
minLength - the minimum record length, or null if not setpublic Integer getMaxLength()
public void setMaxLength(Integer maxLength)
maxLength - the maximum record length, or null if not set
|
BeanIO 1.2.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||