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

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

public class FaultTypeParam
extends StringParameter

FaulltTypeParam, a StringParameter for representing different styles of faulting. The options are not specified here because nomenclature generally differs among subclasses. The default must also be specified in the constructor. See constructors for info on editability and default values.

See Also:
Serialized Form

Field Summary
static java.lang.String INFO
           
static java.lang.String NAME
           
 
Fields inherited from class org.opensha.commons.param.impl.StringParameter
C, D
 
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
FaultTypeParam(StringConstraint options, java.lang.String defaultValue)
          This sets the parameter as non-editable
 
Method Summary
 
Methods inherited from class org.opensha.commons.param.impl.StringParameter
clone, getAllowedStrings, getEditor, getType, setConstraint, 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, isNullAllowed, removeIndependentParameter, removeParameterChangeFailListener, removeParameterChangeListener, 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 java.lang.String NAME
See Also:
Constant Field Values

INFO

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

FaultTypeParam

public FaultTypeParam(StringConstraint options,
                      java.lang.String defaultValue)
This sets the parameter as non-editable

Parameters:
options -
defaultValue -