pl.edu.agh.cast.importer.base.data
Class RawDataRow

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList<String>
                  extended by pl.edu.agh.cast.importer.base.data.RawDataRow
All Implemented Interfaces:
Serializable, Cloneable, Iterable<String>, Collection<String>, Deque<String>, List<String>, Queue<String>, IDataRow<String>

public class RawDataRow
extends LinkedList<String>
implements IDataRow<String>

Class, which represents one unanalyzed row (record) of data read from the source data file. It extends LinkedList of Strings, which each represent one unanalyzed cell. Each position does not have to map 1:1 to an appropriate domain model field.

Author:
AGH CAST Team
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
RawDataRow(int inpRowNum)
          The default constructor.
 
Method Summary
 boolean equals(Object obj)
          
 int getInputRowNumber()
          Retrieves the input row number.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 
Methods inherited from interface java.util.Deque
iterator
 

Constructor Detail

RawDataRow

public RawDataRow(int inpRowNum)
The default constructor.

Parameters:
inpRowNum - the row number from the input file
Method Detail

equals

public boolean equals(Object obj)

Specified by:
equals in interface Collection<String>
Specified by:
equals in interface List<String>
Overrides:
equals in class AbstractList<String>
See Also:
AbstractList.equals(java.lang.Object)

hashCode

public int hashCode()

Specified by:
hashCode in interface Collection<String>
Specified by:
hashCode in interface List<String>
Overrides:
hashCode in class AbstractList<String>
See Also:
AbstractList.hashCode()

toString

public String toString()

Overrides:
toString in class AbstractCollection<String>
See Also:
AbstractCollection.toString()

getInputRowNumber

public int getInputRowNumber()
Retrieves the input row number.

Specified by:
getInputRowNumber in interface IDataRow<String>
Returns:
row number
See Also:
IDataRow.getInputRowNumber()


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.