net.sf.mpxj
Class CostRateTable

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<CostRateTableEntry>
              extended by net.sf.mpxj.CostRateTable
All Implemented Interfaces:
Serializable, Cloneable, Iterable<CostRateTableEntry>, Collection<CostRateTableEntry>, List<CostRateTableEntry>, RandomAccess

public class CostRateTable
extends ArrayList<CostRateTableEntry>

This class represents a resource's cost rate table.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
CostRateTable()
           
 
Method Summary
 CostRateTableEntry getEntryByDate(Date date)
          Retrieve the table entry valid for the supplied date.
 int getIndexByDate(Date date)
          Retrieve the index of the table entry valid for the supplied date.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

CostRateTable

public CostRateTable()
Method Detail

getEntryByDate

public CostRateTableEntry getEntryByDate(Date date)
Retrieve the table entry valid for the supplied date.

Parameters:
date - required date
Returns:
cost rate table entry

getIndexByDate

public int getIndexByDate(Date date)
Retrieve the index of the table entry valid for the supplied date.

Parameters:
date - required date
Returns:
cost rate table entry index


Copyright © 2012. All Rights Reserved.