|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DataType>
org.opensha.commons.eq.cat.util.DataType
public enum DataType
Values for different catalog data types.
| Enum Constant Summary | |
|---|---|
DEPTH
Event depth data identifier. |
|
DIP
Event fault plane dip data identifier. |
|
EVENT_ID
Event ID data identifier. |
|
EVENT_TYPE
Event type data identifier. |
|
FAULT_DISTANCE
Distance of event from assiociated fault data identifier. |
|
LATITUDE
Event latitude data identifier. |
|
LONGITUDE
Event longitude data identifier. |
|
MAGNITUDE
Event magnitude data identifier. |
|
MAGNITUDE_TYPE
Event magnitude type data identifier. |
|
QUALITY
Event location quality data identifier. |
|
RAKE
Event fault plane rake data identifier. |
|
STRIKE
Event fault plane strike data identifier. |
|
TIME
Event time data identifier. |
|
XY_ERROR
Event horizontal error data identifier. |
|
Z_ERROR
Event vertical error data identifier. |
|
| Method Summary | |
|---|---|
Class<?> |
clazz()
Returns the class |
Double |
maxLimit()
Returns the maximum possible value for this DataType. |
Double |
minLimit()
Returns the minimum possible value for this DataType. |
String |
toString()
Overriden to return a label friendly String. |
static DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DataType[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DataType EVENT_ID
public static final DataType EVENT_TYPE
public static final DataType TIME
public static final DataType LONGITUDE
public static final DataType LATITUDE
public static final DataType DEPTH
public static final DataType QUALITY
public static final DataType XY_ERROR
public static final DataType Z_ERROR
public static final DataType MAGNITUDE
public static final DataType MAGNITUDE_TYPE
public static final DataType STRIKE
public static final DataType DIP
public static final DataType RAKE
public static final DataType FAULT_DISTANCE
| Method Detail |
|---|
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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 Class<?> clazz()
public String toString()
String.
toString in class Enum<DataType>String value for labels.public Double minLimit()
DataType.
Method is only applicable for the following double-valued
DataTypes: [LONGITUDE, LATITUDE, DEPTH, MAGNITUDE]. Requests
on any other DataType return null.
for values,
for valuespublic Double maxLimit()
DataType.
Method is only applicable for the following double-valued
DataTypes: [LONGITUDE, LATITUDE, DEPTH, MAGNITUDE]. Requests
on any other DataType return null.
for values,
for values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||