Package org.apache.ofbiz.datafile
Class ModelDataFile
java.lang.Object
org.apache.ofbiz.datafile.ModelDataFile
ModelDataFile
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionchar
Gets delimiter.Gets description.Gets encoding type.Gets eol type.getName()
Gets name.Gets receiver.int
Gets record length.Gets records.Gets sender.Gets separator style.int
Gets start line.Gets text delimiter.Gets type code.void
setDelimiter
(char delimiter) Sets delimiter.void
setDescription
(String description) Sets description.void
setEncodingType
(String encodingType) Sets encoding type.void
setEOLType
(String eolType) Sets eol type.void
Sets name.void
setReceiver
(String receiver) Sets receiver.void
setRecordLength
(int recordLength) Sets record length.void
setRecords
(List<ModelRecord> records) Sets records.void
Sets sender.void
setSeparatorStyle
(String separatorStyle) Sets separator style.void
setStartLine
(int startLine) Sets start line.void
setTextDelimiter
(String textDelimiter) Sets text delimiter.void
setTypeCode
(String typeCode) Sets type code.
-
Field Details
-
SEP_FIXED_LENGTH
- See Also:
-
SEP_FIXED_RECORD
- See Also:
-
SEP_DELIMITED
- See Also:
-
-
Constructor Details
-
ModelDataFile
public ModelDataFile()
-
-
Method Details
-
getTextDelimiter
Gets text delimiter.- Returns:
- the text delimiter
-
setTextDelimiter
Sets text delimiter.- Parameters:
textDelimiter
- the text delimiter
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name
- the name
-
getTypeCode
Gets type code.- Returns:
- the type code
-
setTypeCode
Sets type code.- Parameters:
typeCode
- the type code
-
getSender
Gets sender.- Returns:
- the sender
-
setSender
Sets sender.- Parameters:
sender
- the sender
-
getReceiver
Gets receiver.- Returns:
- the receiver
-
setReceiver
Sets receiver.- Parameters:
receiver
- the receiver
-
getRecordLength
public int getRecordLength()Gets record length.- Returns:
- the record length
-
setRecordLength
public void setRecordLength(int recordLength) Sets record length.- Parameters:
recordLength
- the record length
-
getDelimiter
public char getDelimiter()Gets delimiter.- Returns:
- the delimiter
-
setDelimiter
public void setDelimiter(char delimiter) Sets delimiter.- Parameters:
delimiter
- the delimiter
-
getStartLine
public int getStartLine()Gets start line.- Returns:
- the start line
-
setStartLine
public void setStartLine(int startLine) Sets start line.- Parameters:
startLine
- the start line
-
getSeparatorStyle
Gets separator style.- Returns:
- the separator style
-
setSeparatorStyle
Sets separator style.- Parameters:
separatorStyle
- the separator style
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description
- the description
-
getEOLType
Gets eol type.- Returns:
- the eol type
-
setEOLType
Sets eol type.- Parameters:
eolType
- the eol type
-
getRecords
Gets records.- Returns:
- the records
-
setRecords
Sets records.- Parameters:
records
- the records
-
getEncodingType
Gets encoding type.- Returns:
- the encoding type
-
setEncodingType
Sets encoding type.- Parameters:
encodingType
- the encoding type
-