|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jmonks.batch.io.FieldSpec
FieldSpec represents the <field-spec> element in file spec.
Field spec specifies the name of the field and additional attributes to
identifies the field among the record and other properties based on the file type.
Every field-spec element contains field-name
attribute identifies among the
record spec. The field-name
values should be unique across one record spec.
<field-spec field-name="consumer-id"/>
Field Summary | |
static java.lang.String |
FIELD_NAME_ATTRIB_NAME
Constant defines the field name atttribute name. |
static java.lang.String |
FIELD_SPEC_TAG_NAME
Constant defines the field spec tag name. |
protected java.lang.String |
fieldName
Holds the name of the field. |
Constructor Summary | |
FieldSpec(java.lang.String fieldName)
Constructs the FieldSpec object by accepting the field name. |
Method Summary | |
java.lang.String |
getFieldName()
Returns the field name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String fieldName
public static final java.lang.String FIELD_SPEC_TAG_NAME
public static final java.lang.String FIELD_NAME_ATTRIB_NAME
Constructor Detail |
public FieldSpec(java.lang.String fieldName)
fieldName
- Name of the field.Method Detail |
public java.lang.String getFieldName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |