org.opensha.refFaultParamDb.vo
Class DeformationModel

java.lang.Object
  extended by org.opensha.refFaultParamDb.vo.DeformationModel

public class DeformationModel
extends Object

Deformation model. It contains the slip estimates and aseimsic slip factor estimates for the fault sections in this deformation model.

Author:
vipingupta

Constructor Summary
DeformationModel()
           
 
Method Summary
 void addFaultSection(int faultSectionId)
          Add fault section to this deformation model
 EstimateInstances getAseismicSlipEstimate(int faultSectionId)
          Get aseismic slip factor estimate for a fault section
 int getDeformationModelId()
          Get the Id for this deformation model
 ArrayList<Integer> getFaultSectionIdList()
          Get a list of Ids of all fault sections in this deformation model
 EstimateInstances getSlipRateEstimate(int faultSectionId)
          Get slip rate estimate for a fault section
 void setAseismicSlipFactorEstimate(int faultSectionId, EstimateInstances aseismicSlipFactorEstimate)
          Set the aseismic slip factor estimate for this fault section in this deformation model
 void setDeformationModelId(int deformationModelId)
          Set the defomation model id
 void setSlipRateEstimate(int faultSectionId, EstimateInstances slipRateEstimate)
          Set the slip rate estimate for this fault section in this deformation model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeformationModel

public DeformationModel()
Method Detail

setDeformationModelId

public void setDeformationModelId(int deformationModelId)
Set the defomation model id

Parameters:
deformationModelId -

getDeformationModelId

public int getDeformationModelId()
Get the Id for this deformation model

Returns:

addFaultSection

public void addFaultSection(int faultSectionId)
Add fault section to this deformation model

Parameters:
faultSectionId -

getFaultSectionIdList

public ArrayList<Integer> getFaultSectionIdList()
Get a list of Ids of all fault sections in this deformation model

Returns:

setSlipRateEstimate

public void setSlipRateEstimate(int faultSectionId,
                                EstimateInstances slipRateEstimate)
Set the slip rate estimate for this fault section in this deformation model

Parameters:
faultSectionId -
slipRateEstimate -

setAseismicSlipFactorEstimate

public void setAseismicSlipFactorEstimate(int faultSectionId,
                                          EstimateInstances aseismicSlipFactorEstimate)
Set the aseismic slip factor estimate for this fault section in this deformation model

Parameters:
faultSectionId -
aseismicSlipFactorEstimate -

getSlipRateEstimate

public EstimateInstances getSlipRateEstimate(int faultSectionId)
Get slip rate estimate for a fault section

Parameters:
faultSectionId -
Returns:

getAseismicSlipEstimate

public EstimateInstances getAseismicSlipEstimate(int faultSectionId)
Get aseismic slip factor estimate for a fault section

Parameters:
faultSectionId -
Returns: