org.opensha.refFaultParamDb.dao.db
Class EventSequenceDB_DAO

java.lang.Object
  extended by org.opensha.refFaultParamDb.dao.db.EventSequenceDB_DAO

public class EventSequenceDB_DAO
extends Object

Title: EventSequenceDB_DAO.java

Description: It interacts with the database to put/get the information about event sequences

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
not attributable

Constructor Summary
EventSequenceDB_DAO(DB_AccessAPI dbAccess)
           
 
Method Summary
 void addEventSequence(int infoId, String entryDate, ArrayList<EventSequence> sequenceList)
          Add a list of possible sequences in a particular timespan
 ArrayList<EventSequence> getSequences(int infoId, String entryDate)
          Return a list of all the sequences for a particular site
 void setDB_Connection(DB_AccessAPI dbAccess)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventSequenceDB_DAO

public EventSequenceDB_DAO(DB_AccessAPI dbAccess)
Method Detail

setDB_Connection

public void setDB_Connection(DB_AccessAPI dbAccess)

addEventSequence

public void addEventSequence(int infoId,
                             String entryDate,
                             ArrayList<EventSequence> sequenceList)
Add a list of possible sequences in a particular timespan

Parameters:
sequenceList -
startTime -
endTime -

getSequences

public ArrayList<EventSequence> getSequences(int infoId,
                                             String entryDate)
Return a list of all the sequences for a particular site

Parameters:
siteId -
Returns: