|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataGeneratorAPI_NEHRP
Title: DataGeneratorAPI_NEHRP
Description: this interface provides the minimum functionality that a DataGenerator classes must provide.
| Method Summary | |
|---|---|
void |
calculatedSDSsS1()
|
void |
calculateMapSpectrum()
|
void |
calculateMapSpectrum(ArrayList<Location> locations,
String outfile)
Computes the Map Spectrum(s) for the batch file. |
void |
calculateSDSpectrum()
|
void |
calculateSDSpectrum(ArrayList<Location> locations,
ArrayList<String> conditions,
String outfile)
Computes the SD Spectrum(s) for the batch file. |
void |
calculateSDSsS1(String edition,
String region,
String zipCode,
String siteClass)
|
void |
calculateSMSpectrum()
|
void |
calculateSMSpectrum(ArrayList<Location> locations,
ArrayList<String> conditions,
String outfile)
Computes the SM Spectrum(s) for the batch file. |
void |
calculateSMsSm1SDsSD1(ArrayList<Location> locations,
ArrayList<String> conditions,
String outfile)
|
void |
calculateSMSsS1()
|
void |
calculateSMSsS1(String edition,
String region,
String zipCode,
String siteClass)
|
void |
calculateSsS1()
Gets the data for SsS1 in case Territory. |
void |
calculateSsS1(ArrayList<Location> locations,
String outFile)
Gets the data for SsS1 for each location in the list of locations. |
void |
calculateSsS1(double lat,
double lon)
Gets the data for SsS1 in case region specified is not a Territory and user specifies Lat-Lon for the location. |
void |
calculateSsS1(String zipCode)
Gets the data for SsS1 in case region specified is not a Territory and user specifies zip code for the location. |
void |
clearData()
Removes all the calculated data. |
String |
getDataInfo()
Returns the Data and all the metadata associated with it in a String. |
ArrayList |
getFunctionsToPlotForSA(boolean isMapSpectrumFunctionNeeded,
boolean isSDSpectrumFunctionNeeded,
boolean isSMSpectrumFunctionNeeded)
Returns the list of functions for plotting. |
double |
getSa()
Returns the SA at 1 sec |
String |
getSelectedSiteClass()
Returns the site class |
double |
getSs()
Returns the SA at .2sec |
void |
setEdition(String edition)
Sets the selected data edition. |
void |
setFa(float fa)
Sets the Fa value. |
void |
setFv(float fv)
Sets the Fv value. |
void |
setNoLocation()
Clears the lat/lon/zip values |
void |
setRegion(String region)
Sets the selected geographic region. |
void |
setSiteClass(String siteClass)
Sets the selected site class |
void |
setSpectraType(String spectraType)
Sets the Spectra type |
| Method Detail |
|---|
void clearData()
void setNoLocation()
String getDataInfo()
void calculateSsS1()
throws RemoteException
RemoteException
void calculateSsS1(double lat,
double lon)
throws RemoteException
RemoteException
void calculateSsS1(String zipCode)
throws ZipCodeErrorException,
RemoteException
ZipCodeErrorException
RemoteException
void calculateSsS1(ArrayList<Location> locations,
String outFile)
locations.
If any given location is not valid for the current region, an error message is
displayed and the output displays "Out of Region" information. Output is
directed to the specified outFile Excel file.
locations - A list of locations to calculate SsS1 at.outFile - The Excel file to output the information.void setSiteClass(String siteClass)
siteClass - StringString getSelectedSiteClass()
ArrayList getFunctionsToPlotForSA(boolean isMapSpectrumFunctionNeeded,
boolean isSDSpectrumFunctionNeeded,
boolean isSMSpectrumFunctionNeeded)
isMapSpectrumFunctionNeeded - boolean true if user has clicked the map spectrum buttonisSDSpectrumFunctionNeeded - boolean true if user has clicked the SD spectrum buttonisSMSpectrumFunctionNeeded - boolean true if user has clicked the SM spectrum button
double getSs()
double getSa()
void calculateSMSsS1()
throws RemoteException
RemoteException
void calculateSMSsS1(String edition,
String region,
String zipCode,
String siteClass)
throws RemoteException
edition - region - zipCode - siteClass -
RemoteException
void calculatedSDSsS1()
throws RemoteException
RemoteException
void calculateSDSsS1(String edition,
String region,
String zipCode,
String siteClass)
throws RemoteException
edition - region - zipCode - siteClass -
RemoteException
void calculateSMsSm1SDsSD1(ArrayList<Location> locations,
ArrayList<String> conditions,
String outfile)
locations - conditions - outfile -
void calculateMapSpectrum()
throws RemoteException
RemoteException
void calculateSMSpectrum()
throws RemoteException
RemoteException
void calculateSDSpectrum()
throws RemoteException
RemoteExceptionvoid setRegion(String region)
region - Stringvoid setEdition(String edition)
edition - Stringvoid setFa(float fa)
fa - doublevoid setFv(float fv)
fv - doublevoid setSpectraType(String spectraType)
spectraType - String
void calculateMapSpectrum(ArrayList<Location> locations,
String outfile)
locations - outfile -
void calculateSMSpectrum(ArrayList<Location> locations,
ArrayList<String> conditions,
String outfile)
locations - conditions - outfile -
void calculateSDSpectrum(ArrayList<Location> locations,
ArrayList<String> conditions,
String outfile)
locations - conditions - outfile -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||