|
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
public abstract class NodeConfig
Base class for record and record group configuration settings.
| Field Summary | |
|---|---|
static char |
GROUP
The node type of a record group |
static char |
RECORD
The node type of a record |
| Constructor Summary | |
|---|---|
NodeConfig()
|
|
| Method Summary | |
|---|---|
Integer |
getMaxOccurs()
Returns the maximum number of times this node may appear in an input stream. |
Integer |
getMinOccurs()
Returns the minimum number of times this node must appear in an input stream. |
String |
getName()
Returns the name of this node. |
int |
getOrder()
Returns this node's order. |
abstract char |
getType()
Returns the type of this node. |
void |
setMaxOccurs(Integer maxOccurs)
Sets the maximum number of times this nodes must appear in an input stream. |
void |
setMinOccurs(Integer minOccurs)
Sets the minimum number of times this nodes must appear in an input stream. |
void |
setName(String name)
Sets the name of this node. |
void |
setOrder(int order)
Sets the order of this node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final char RECORD
public static final char GROUP
| Constructor Detail |
|---|
public NodeConfig()
| Method Detail |
|---|
public abstract char getType()
RECORD or GROUPpublic String getName()
public void setName(String name)
name - public int getOrder()
public void setOrder(int order)
order - the node orderpublic Integer getMinOccurs()
public void setMinOccurs(Integer minOccurs)
minOccurs - the minimum occurrences of this nodepublic Integer getMaxOccurs()
public void setMaxOccurs(Integer maxOccurs)
maxOccurs - the maximum occurrences of this node
|
BeanIO 1.2.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||