org.opensha.sha.calc.IM_EventSet.v03
Class IM_EventSetCalculation

java.lang.Object
  extended by org.opensha.sha.calc.IM_EventSet.v03.IM_EventSetCalculation
All Implemented Interfaces:
XMLSaveable

public class IM_EventSetCalculation
extends Object
implements XMLSaveable


Field Summary
static String XML_ERFS_NAME
           
static String XML_IMRS_NAME
           
static String XML_IMT_String_NAME
           
static String XML_IMTS_NAME
           
static String XML_METADATA_NAME
           
static String XML_SITE_DATA_VALS_NAME
           
static String XML_SITE_NAME
           
static String XML_SITES_NAME
           
 
Constructor Summary
IM_EventSetCalculation(ArrayList<Location> sites, ArrayList<ArrayList<SiteDataValue<?>>> sitesData, ArrayList<ERF> erfs, ArrayList<ScalarIMR> attenRels, ArrayList<String> imts, OrderedSiteDataProviderList providers)
           
 
Method Summary
static IM_EventSetCalculation fromXMLMetadata(Element eventSetEl)
           
 ArrayList<ERF> getErfs()
           
 ArrayList<ScalarIMR> getIMRs()
           
 ArrayList<String> getIMTs()
           
 OrderedSiteDataProviderList getProviders()
           
 ArrayList<Location> getSites()
           
 ArrayList<ArrayList<SiteDataValue<?>>> getSitesData()
           
static void main(String[] args)
           
 Element toXMLMetadata(Element root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_METADATA_NAME

public static final String XML_METADATA_NAME
See Also:
Constant Field Values

XML_ERFS_NAME

public static final String XML_ERFS_NAME
See Also:
Constant Field Values

XML_IMRS_NAME

public static final String XML_IMRS_NAME
See Also:
Constant Field Values

XML_IMTS_NAME

public static final String XML_IMTS_NAME
See Also:
Constant Field Values

XML_IMT_String_NAME

public static final String XML_IMT_String_NAME
See Also:
Constant Field Values

XML_SITES_NAME

public static final String XML_SITES_NAME
See Also:
Constant Field Values

XML_SITE_NAME

public static final String XML_SITE_NAME
See Also:
Constant Field Values

XML_SITE_DATA_VALS_NAME

public static final String XML_SITE_DATA_VALS_NAME
See Also:
Constant Field Values
Constructor Detail

IM_EventSetCalculation

public IM_EventSetCalculation(ArrayList<Location> sites,
                              ArrayList<ArrayList<SiteDataValue<?>>> sitesData,
                              ArrayList<ERF> erfs,
                              ArrayList<ScalarIMR> attenRels,
                              ArrayList<String> imts,
                              OrderedSiteDataProviderList providers)
Method Detail

toXMLMetadata

public Element toXMLMetadata(Element root)
Specified by:
toXMLMetadata in interface XMLSaveable

fromXMLMetadata

public static IM_EventSetCalculation fromXMLMetadata(Element eventSetEl)

getSites

public ArrayList<Location> getSites()

getSitesData

public ArrayList<ArrayList<SiteDataValue<?>>> getSitesData()

getErfs

public ArrayList<ERF> getErfs()

getIMRs

public ArrayList<ScalarIMR> getIMRs()

getIMTs

public ArrayList<String> getIMTs()

getProviders

public OrderedSiteDataProviderList getProviders()

main

public static void main(String[] args)
                 throws MalformedURLException,
                        DocumentException
Throws:
MalformedURLException
DocumentException