org.opensha.refFaultParamDb.dao.db
Class PaleoSitePublicationsDB_DAO

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

public class PaleoSitePublicationsDB_DAO
extends Object

Title: PaleoSitePublicationsDB_DAO.java

Description: It puts the site type name and representative strand index associated with each publication into the database

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
not attributable

Constructor Summary
PaleoSitePublicationsDB_DAO(DB_AccessAPI dbAccess)
           
 
Method Summary
 void addPaleoSitePublicationInfo(PaleoSitePublication paleoSitePublication)
          Insert the publication, site type and representative site index into the database
 ArrayList<PaleoSitePublication> getPaleoSitePublicationInfo(int siteId)
          Get all the publications 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

PaleoSitePublicationsDB_DAO

public PaleoSitePublicationsDB_DAO(DB_AccessAPI dbAccess)
Method Detail

setDB_Connection

public void setDB_Connection(DB_AccessAPI dbAccess)

addPaleoSitePublicationInfo

public void addPaleoSitePublicationInfo(PaleoSitePublication paleoSitePublication)
Insert the publication, site type and representative site index into the database

Parameters:
paleoSitePublication -

getPaleoSitePublicationInfo

public ArrayList<PaleoSitePublication> getPaleoSitePublicationInfo(int siteId)
Get all the publications for a particular site

Parameters:
siteId -
Returns: