net.sf.flatpack.xml
Class XMLRecordElement
java.lang.Object
net.sf.flatpack.xml.XMLRecordElement
public class XMLRecordElement
- extends java.lang.Object
- Author:
- Paul Zepernick
Definition for a element in a pzmap file
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLRecordElement
public XMLRecordElement()
getElementNumber
public int getElementNumber()
- Returns:
- Returns the elementNumber.
setElementNumber
public void setElementNumber(int elementNumber)
- Parameters:
elementNumber
- The elementNumber to set.
getEndPositition
public int getEndPositition()
- Returns:
- Returns the endPostition.
setEndPositition
public void setEndPositition(int endPositition)
- Parameters:
endPostition
- The endPostition to set.
getIndicator
public java.lang.String getIndicator()
- Returns:
- Returns the indicator.
setIndicator
public void setIndicator(java.lang.String indicator)
- Parameters:
indicator
- The indicator to set.
getStartPosition
public int getStartPosition()
- Returns:
- Returns the startPosition.
setStartPosition
public void setStartPosition(int startPosition)
- Parameters:
startPosition
- The startPosition to set.
getColumns
public java.util.List getColumns()
- Returns:
- List Collection of ColumnMetaData objects
- See Also:
ColumnMetaData
setColumns
public void setColumns(java.util.List columnsToUse,
Parser p)
- Parameters:
columnsToUse
- The columns to set.p
- PZParser being used. Can be null.
getColumnIndex
public int getColumnIndex(java.lang.String colName)
- Returns the index of the column name.
- Parameters:
colName
-
- Returns:
- -1 if the column name does not exist.
getElementCount
public int getElementCount()
- Used to determine the mapping the row belongs to. Will
only be evaluated if > 0.
- Returns:
- the elementCount
setElementCount
public void setElementCount(int elementCount)
- Used to determine the mapping the row belongs to. Will
only be evaluated if > 0.
- Parameters:
elementCount
- the elementCount to set
Copyright © 2006-2011 Appendium - Portfolio Financing Platform. All Rights Reserved.