org.opensha.sha.cybershake.db
Class AttenRels2DB

java.lang.Object
  extended by org.opensha.sha.cybershake.db.AttenRels2DB

public class AttenRels2DB
extends Object


Constructor Summary
AttenRels2DB(DBAccess db)
           
 
Method Summary
 int getAttenRelID(ScalarIMR imr)
           
 ArrayList<Integer> getAttenRelIDs(String shortName)
           
 int insertAttenRel(ScalarIMR imr)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttenRels2DB

public AttenRels2DB(DBAccess db)
Method Detail

insertAttenRel

public int insertAttenRel(ScalarIMR imr)
                   throws SQLException
Throws:
SQLException

getAttenRelID

public int getAttenRelID(ScalarIMR imr)
                  throws SQLException
Throws:
SQLException

getAttenRelIDs

public ArrayList<Integer> getAttenRelIDs(String shortName)
                                  throws SQLException
Throws:
SQLException

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException