org.opensha.sha.imr.param.EqkRuptureParams
Class AftershockParam

java.lang.Object
  extended by org.opensha.commons.param.AbstractParameter<Boolean>
      extended by org.opensha.commons.param.impl.BooleanParameter
          extended by org.opensha.sha.imr.param.EqkRuptureParams.AftershockParam
All Implemented Interfaces:
Serializable, Comparable<Parameter<?>>, Named, XMLSaveable, Parameter<Boolean>

public class AftershockParam
extends BooleanParameter

Aftershock parameter, indicates whether or not an event is an aftershock. See constructors for info on editability and default values.

See Also:
Serialized Form

Field Summary
static String INFO
           
static String NAME
           
 
Fields inherited from class org.opensha.commons.param.impl.BooleanParameter
C, D, PARAM_TYPE
 
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
 
Fields inherited from interface org.opensha.commons.param.Parameter
XML_INDEPENDENT_PARAMS_NAME
 
Constructor Summary
AftershockParam()
          This constructor sets the default value as "false".
AftershockParam(boolean defaultValue)
          This constructor sets the default value as "false".
 
Method Summary
 
Methods inherited from class org.opensha.commons.param.impl.BooleanParameter
clone, getEditor, getType, isNullAllowed, setIndividualParamValueFromXML
 
Methods inherited from class org.opensha.commons.param.AbstractParameter
addIndependentParameter, addParameterChangeFailListener, addParameterChangeListener, checkEditable, compareTo, containsIndependentParameter, equals, firePropertyChange, firePropertyChangeFailed, getConstraint, getConstraintName, getDefaultValue, getDependentParamMetadataString, getIndependentParameter, getIndependentParameterList, getIndependentParametersKey, getInfo, getMetadataString, getName, getNumIndependentParameters, getUnits, getValue, isAllowed, isEditable, removeIndependentParameter, removeParameterChangeFailListener, removeParameterChangeListener, setConstraint, setDefaultValue, setDependentParamMetadataString, setIndependentParameters, setIndepParamsFromXML, setInfo, setName, setNonEditable, setUnits, setValue, setValueAsDefault, setValueFromXMLMetadata, toXMLMetadata, toXMLMetadata, unableToSetValue, valueToXML
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

INFO

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

AftershockParam

public AftershockParam(boolean defaultValue)
This constructor sets the default value as "false". This also makes the parameter non editable.


AftershockParam

public AftershockParam()
This constructor sets the default value as "false". This also makes the parameter non editable.