|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanio.internal.util.TreeNode<ComponentConfig>
org.beanio.internal.config.ComponentConfig
org.beanio.internal.config.PropertyConfig
org.beanio.internal.config.SegmentConfig
org.beanio.internal.config.RecordConfig
public class RecordConfig
A record is a segment that is bound to a record in a stream. The physical representation of a record is dependent on the type of stream. A typical example might be a line in a fixed length or delimited flat file.
| Field Summary |
|---|
| Fields inherited from class org.beanio.internal.config.PropertyConfig |
|---|
JSON_TYPE_ARRAY, JSON_TYPE_BOOLEAN, JSON_TYPE_NONE, JSON_TYPE_NUMBER, JSON_TYPE_OBJECT, JSON_TYPE_STRING |
| Fields inherited from class org.beanio.internal.config.ComponentConfig |
|---|
CONSTANT, FIELD, GROUP, RECORD, SEGMENT, STREAM, WRAPPER |
| Constructor Summary | |
|---|---|
RecordConfig()
Constructs a new RecordConfig. |
|
| Method Summary | |
|---|---|
char |
getComponentType()
Returns the component type. |
Integer |
getMaxLength()
Returns the maximum length of the record. |
Integer |
getMaxMatchLength()
Returns the maximum record length for identifying this record. |
Integer |
getMinLength()
Returns the minimum length of the record. |
Integer |
getMinMatchLength()
Returns the minimum record length for identifying this record. |
Integer |
getOrder()
Returns the order this record must appear within the context of its parent group component. |
void |
setMaxLength(Integer maxLength)
Sets the maximum length of the record. |
void |
setMaxMatchLength(Integer maxMatchLength)
Sets the maximum record length for identifying this record. |
void |
setMinLength(Integer minLength)
Sets the minimum length of the record. |
void |
setMinMatchLength(Integer minMatchLength)
Sets the minimum record length for identifying this record. |
void |
setOrder(Integer order)
Sets the order this record must appear within the context of its parent group component. |
| Methods inherited from class org.beanio.internal.config.SegmentConfig |
|---|
getDefaultExistence, getKey, getPropertyList, getTarget, isConstant, isLazy, isSupportedChild, setConstant, setDefaultExistence, setKey, setLazy, setTarget |
| Methods inherited from class org.beanio.internal.config.PropertyConfig |
|---|
getCollection, getGetter, getJsonArrayIndex, getJsonName, getJsonType, getMaxOccurs, getMaxSize, getMinOccurs, getMinSize, getPosition, getSetter, getType, getUntil, getXmlType, isBound, isCollection, isIdentifier, isJsonArray, isNillable, isRepeating, setBound, setCollection, setGetter, setIdentifier, setJsonArray, setJsonArrayIndex, setJsonName, setJsonType, setMaxOccurs, setMaxSize, setMinOccurs, setMinSize, setNillable, setPosition, setSetter, setType, setUntil, setXmlType |
| Methods inherited from class org.beanio.internal.config.ComponentConfig |
|---|
getXmlName, getXmlNamespace, getXmlPrefix, isXmlNamespaceAware, setXmlName, setXmlNamespace, setXmlNamespaceAware, setXmlPrefix |
| Methods inherited from class org.beanio.internal.util.TreeNode |
|---|
add, clone, find, getChildren, getFirst, getName, iterator, print, setName, size, sort, toParamString, toString, updateReferences |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.beanio.internal.config.SelectorConfig |
|---|
getMaxOccurs, getMinOccurs, getName |
| Constructor Detail |
|---|
public RecordConfig()
| Method Detail |
|---|
public char getComponentType()
ComponentConfig
getComponentType in interface SelectorConfiggetComponentType in class SegmentConfigComponentConfig.GROUP, ComponentConfig.RECORD, ComponentConfig.SEGMENT, ComponentConfig.FIELD,
ComponentConfig.CONSTANT or ComponentConfig.WRAPPERpublic 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 setpublic Integer getMinMatchLength()
public void setMinMatchLength(Integer minMatchLength)
minMatchLength - the minimum record length, or null if no minimum length appliespublic Integer getMaxMatchLength()
public void setMaxMatchLength(Integer maxMatchLength)
maxMatchLength - the maximum record length, or null if no maximum length appliespublic Integer getOrder()
getOrder in interface SelectorConfigpublic void setOrder(Integer order)
setOrder in interface SelectorConfigorder - the order of this record
|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||