|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.refFaultParamDb.dao.db.DeformationModelDB_DAO
public class DeformationModelDB_DAO
Allows the user to set the fault sections within this deformation model and also allows to set slip rate and aseismic slip factor for each of these sections
| Constructor Summary | |
|---|---|
DeformationModelDB_DAO(DB_AccessAPI dbAccessAPI)
|
|
| Method Summary | |
|---|---|
EstimateInstances |
getAseismicSlipEstimate(int deformationModelId,
int faultSectionId)
Get asesimic slip for a specific fault section and deformation model |
DeformationModel |
getDeformationModel(int deformationModelId)
Get a List of Ids of all fault sections, their slip rates and aseismic slip estimates in a deformation model |
ArrayList<Integer> |
getFaultSectionIdsForDeformationModel(int deformationModelId)
Get a list of all fault sections within this deformation model |
EstimateInstances |
getSlipRateEstimate(int deformationModelId,
int faultSectionId)
Get slip Rate for particular fault section and deformation model |
static void |
main(String[] args)
|
protected void |
removeModel(int deformationModelId)
This removes all the rows from the table which associates faultsection names with a particular deformation model |
int |
removeSectionFromAllModels(int faultSectionId)
Removes the given fault section from all models |
void |
setDB_Connection(DB_AccessAPI dbAccessAPI)
|
void |
updateAseimsicSlipFactor(int deformationModelId,
int faultSectionId,
EstimateInstances aseismicSlipFactorEstimate)
Update the aseimsic slip factor for fault section in he deformation model |
void |
updateSlipRate(int deformationModelId,
int faultSectionId,
EstimateInstances slipRateEstimate)
Update the slip rate for fault section in a deformation model |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeformationModelDB_DAO(DB_AccessAPI dbAccessAPI)
| Method Detail |
|---|
public void setDB_Connection(DB_AccessAPI dbAccessAPI)
public void updateSlipRate(int deformationModelId,
int faultSectionId,
EstimateInstances slipRateEstimate)
deformationModelId - faultSectionId - slipRateEstimate -
public void updateAseimsicSlipFactor(int deformationModelId,
int faultSectionId,
EstimateInstances aseismicSlipFactorEstimate)
deformationModelId - faultSectionId - slipRateEstimate -
public EstimateInstances getSlipRateEstimate(int deformationModelId,
int faultSectionId)
deformationModelId - faultSectionId -
public EstimateInstances getAseismicSlipEstimate(int deformationModelId,
int faultSectionId)
deformationModelId - faultSectionId -
public ArrayList<Integer> getFaultSectionIdsForDeformationModel(int deformationModelId)
deformationModelId -
public DeformationModel getDeformationModel(int deformationModelId)
deformationModelIddelId -
public int removeSectionFromAllModels(int faultSectionId)
faultSectionId -
protected void removeModel(int deformationModelId)
deformationModelId - public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||