JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
ModelType.java
Go to the documentation of this file.
1 package jarmos;
2 
9 public enum ModelType {
14 
18  JRB,
19 
24 
29 
36  public static ModelType parse(String strtype) {
37  if (strtype != null) {
38  for (ModelType type : ModelType.values()) {
39  if (type.toString().toLowerCase().equals(strtype.toLowerCase()))
40  return type;
41  }
42  }
43  return ModelType.Unknown;
44  }
45 }
static ModelType parse(String strtype)
Parses a string into its matching ModelType.
Definition: ModelType.java:36
An rbappmit-model of old data format, compatible with JRB models.
Definition: ModelType.java:28
Known model types within the JaRMoSBase project.
Definition: ModelType.java:9
Unknown
This model type is unknown to JaRMoSBase.
Definition: ModelType.java:13
JKerMor
A JKerMor model.
Definition: ModelType.java:23
JRB
A JRB model.
Definition: ModelType.java:18