org.opensha.sha.imr.param.OtherParams
Class StdDevTypeParam
java.lang.Object
org.opensha.commons.param.AbstractParameter<String>
org.opensha.commons.param.impl.StringParameter
org.opensha.sha.imr.param.OtherParams.StdDevTypeParam
- All Implemented Interfaces:
- Serializable, Comparable<Parameter<?>>, Named, XMLSaveable, Parameter<String>
public class StdDevTypeParam
- extends StringParameter
StdDevTypeParam represents the various types of standard deviations that an IMR might
support The constraint must be provided in the constructor, and the "STD_DEV_TYPE_*"
strings here represent common options that can be used in creating the constraint
(although other unique options can be added as well).
"InterEvent" is the event to event variability, "Intra-Event" is the variability
within an event, and "Total" (the most common) is the other two two added in quadrature.
Other options should be self explanatory.
See constructors for info on editability and default values.
- See Also:
- Serialized Form
| Fields inherited from class org.opensha.commons.param.AbstractParameter |
constraint, defaultValue, editable, independentParameters, info, metadataString, name, units, value, XML_COMPLEX_VAL_EL_NAME, XML_GROUP_METADATA_NAME, XML_METADATA_NAME, XML_NULL_VALUE |
| Methods inherited from class org.opensha.commons.param.AbstractParameter |
addIndependentParameter, addParameterChangeFailListener, addParameterChangeListener, checkEditable, compareTo, containsIndependentParameter, equals, firePropertyChange, firePropertyChangeFailed, getConstraint, getConstraintName, getDefaultValue, getDependentParamMetadataString, getIndependentParameter, getIndependentParameterList, getIndependentParametersIterator, getIndependentParametersKey, getInfo, getMetadataString, getName, getNumIndependentParameters, getUnits, getValue, isAllowed, isEditable, isNullAllowed, removeIndependentParameter, removeParameterChangeFailListener, removeParameterChangeListener, setDefaultValue, setDependentParamMetadataString, setIndependentParameters, setIndepParamsFromXML, setInfo, setName, setNonEditable, setUnits, setValue, setValueAsDefault, setValueFromXMLMetadata, toXMLMetadata, toXMLMetadata, unableToSetValue, valueToXML |
NAME
public static final String NAME
- See Also:
- Constant Field Values
INFO
public static final String INFO
- See Also:
- Constant Field Values
STD_DEV_TYPE_TOTAL
public static final String STD_DEV_TYPE_TOTAL
- See Also:
- Constant Field Values
STD_DEV_TYPE_INTER
public static final String STD_DEV_TYPE_INTER
- See Also:
- Constant Field Values
STD_DEV_TYPE_INTRA
public static final String STD_DEV_TYPE_INTRA
- See Also:
- Constant Field Values
STD_DEV_TYPE_NONE
public static final String STD_DEV_TYPE_NONE
- See Also:
- Constant Field Values
STD_DEV_TYPE_TOTAL_MAG_DEP
public static final String STD_DEV_TYPE_TOTAL_MAG_DEP
- See Also:
- Constant Field Values
STD_DEV_TYPE_TOTAL_PGA_DEP
public static final String STD_DEV_TYPE_TOTAL_PGA_DEP
- See Also:
- Constant Field Values
STD_DEV_TYPE_INTRA_MAG_DEP
public static final String STD_DEV_TYPE_INTRA_MAG_DEP
- See Also:
- Constant Field Values
StdDevTypeParam
public StdDevTypeParam(StringConstraint options)
- This sets the default as STD_DEV_TYPE_TOTAL (and will throw and
exception if that value is not in the options list).
The parameter is set as non editable after creation.
- Parameters:
options -
StdDevTypeParam
public StdDevTypeParam(StringConstraint options,
String defaultValue)
- This one allows you to set the default (overriding how its set in the other constructor).
The parameter is set as non editable after creation.
- Parameters:
options -