|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.data.FaultsFetcher
public abstract class FaultsFetcher
This class read the segments from a text file and then go to database to fetch the fault sections
| Field Summary | |
|---|---|
protected int |
deformationModelId
|
protected DeformationModelPrefDataFinal |
deformationModelPrefDataFinal
|
protected ArrayList<String> |
faultModelNames
|
protected HashMap |
faultModels
|
protected boolean |
isUnsegmented
|
protected HashMap |
segmentNamesMap
|
| Constructor Summary | |
|---|---|
FaultsFetcher()
|
|
FaultsFetcher(String fileName)
|
|
| Method Summary | |
|---|---|
ArrayList<String> |
getAllFaultNames()
Get a list of all segment names |
ArrayList<Integer> |
getAllFaultSectionsIdList()
Return a list of ids of all fault sections in any of faults defined in text file. |
ArrayList<String> |
getAllFaultSectionsNamesList()
Return a list of names of all fault sections in any of faults defined in text file. |
FaultSegmentData |
getFaultSegmentData(String faultName,
boolean isAseisReducesArea)
Get segmented fault data for selected fault |
ArrayList |
getFaultSegmentDataList(boolean isAseisReducesArea)
This returns a list of FaultSegmentData object for all faults defined in text file |
abstract ArrayList<SegRateConstraint> |
getSegRateConstraints(String selectedSegmentModel)
Get recurrence intervals for selected segment model |
abstract ArrayList<SegmentTimeDepData> |
getSegTimeDepData(String faultName)
Get time dependent data for selected fault |
void |
loadSegmentModels(String fileName)
Create the faultModels hashMap by reading a file that defines what sections are in each segment and what segments are in each fault model |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected HashMap faultModels
protected DeformationModelPrefDataFinal deformationModelPrefDataFinal
protected ArrayList<String> faultModelNames
protected HashMap segmentNamesMap
protected int deformationModelId
protected boolean isUnsegmented
| Constructor Detail |
|---|
public FaultsFetcher()
public FaultsFetcher(String fileName)
| Method Detail |
|---|
public void loadSegmentModels(String fileName)
public ArrayList getFaultSegmentDataList(boolean isAseisReducesArea)
deformationModelId - isAseisReducesArea -
public ArrayList<Integer> getAllFaultSectionsIdList()
public ArrayList<String> getAllFaultSectionsNamesList()
public FaultSegmentData getFaultSegmentData(String faultName,
boolean isAseisReducesArea)
public ArrayList<String> getAllFaultNames()
public abstract ArrayList<SegRateConstraint> getSegRateConstraints(String selectedSegmentModel)
selectedSegmentModel -
public abstract ArrayList<SegmentTimeDepData> getSegTimeDepData(String faultName)
faultName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||