|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<LossType>
org.opensha.sra.asset.LossType
public enum LossType
This enum identifies different types of losses. For a
building or contents AssetType, the only loss type is
repair cost. People have several possible loss types related to injury:
Maximum Abbreviated Injury Severity (0, 1, 2, ??? 6); HAZUS injury
severity (0, 1, ??? 4); or workers??? comp injury severity
(none, PT, PP, TT, or TP). Economic output has one loss type: economic
cost of loss of use.
AssetCategory| Enum Constant Summary | |
|---|---|
ATC_13_1
Fraction of indoor occupants injured to ATC-13 severity 1. |
|
ATC_13_2
Fraction of indoor occupants injured to ATC-13 severity 2. |
|
ATC_13_3
Fraction of indoor occupants injured to ATC-13 severity 3. |
|
DOWN_TIME
Fraction of a year required to make facility operational. |
|
HAZUS_1
Fraction of indoor occupants injured to HAZUS severity 1. |
|
HAZUS_2
Fraction of indoor occupants injured to HAZUS severity 2. |
|
HAZUS_3
Fraction of indoor occupants injured to HAZUS severity 3. |
|
HAZUS_4
Fraction of indoor occupants injured to HAZUS severity 4. |
|
REPAIR_COST
Repair cost as a fraction of replacement cost. |
|
| Method Summary | |
|---|---|
List<AssetCategory> |
getSupportedAssetTypes()
Returns the AssetTypes for which this LossType
is applicable. |
static LossType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LossType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final LossType REPAIR_COST
public static final LossType HAZUS_1
public static final LossType HAZUS_2
public static final LossType HAZUS_3
public static final LossType HAZUS_4
public static final LossType ATC_13_1
public static final LossType ATC_13_2
public static final LossType ATC_13_3
public static final LossType DOWN_TIME
| Method Detail |
|---|
public static LossType[] values()
for (LossType c : LossType.values()) System.out.println(c);
public static LossType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic List<AssetCategory> getSupportedAssetTypes()
AssetTypes for which this LossType
is applicable.
Collection of AssetTypes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||