|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.component.transformation.flatfile.reader.field.BaseFieldDefinition
public class BaseFieldDefinition
Base class for flat file field definitions
| Field Summary | |
|---|---|
protected String |
fieldName
Our name for the field |
protected boolean |
optionalField
This field may not actually exist, ie if there is no more content, neither this field nor any subsequent field will be evaluated |
protected boolean |
skipIfEmpty
This field can be skipped in output if its value is empty |
| Constructor Summary | |
|---|---|
BaseFieldDefinition(String fieldName)
Constructor |
|
| Method Summary | |
|---|---|
String |
getFieldName()
Accessor for fieldName |
boolean |
isOptionalField()
Accessor for optionalField |
boolean |
isSkipIfEmpty()
Accessor for skipIfEmpty |
void |
setOptionalField(boolean optionalField)
Setter method for optionalField |
void |
setSkipIfEmpty(boolean skipIfEmpty)
Setter for skipIfEmpty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String fieldName
protected boolean skipIfEmpty
protected boolean optionalField
| Constructor Detail |
|---|
public BaseFieldDefinition(String fieldName)
fieldName - - The name of the field| Method Detail |
|---|
public void setOptionalField(boolean optionalField)
optionalField - the optional flag to setpublic boolean isOptionalField()
public boolean isSkipIfEmpty()
public void setSkipIfEmpty(boolean skipIfEmpty)
skipIfEmpty - - The flag to setpublic String getFieldName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||