org.sbml.jsbml
public static enum ListOf.Type extends java.lang.Enum<ListOf.Type>
Enum Constant and Description |
---|
listOfCompartments |
listOfCompartmentTypes |
listOfConstraints |
listOfEventAssignments |
listOfEvents |
listOfFunctionDefinitions |
listOfInitialAssignments |
listOfLocalParameters |
listOfModifiers |
listOfParameters |
listOfProducts |
listOfReactants |
listOfReactions |
listOfRules |
listOfSpecies |
listOfSpeciesTypes |
listOfUnitDefinitions |
listOfUnits |
none
Indicates that the
ListOf.Type is not known yet or has not been
configured so far. |
other
For instance, it is not possible to decide between reactants and
products because both elements are of the same type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends SBase> |
toClass()
Gives the corresponding
Class object for this ListOf.Type . |
static ListOf.Type |
valueOf(java.lang.Class<? extends SBase> type)
Gives the corresponding
ListOf.Type for the given Class
object. |
static ListOf.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ListOf.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListOf.Type listOfCompartments
public static final ListOf.Type listOfCompartmentTypes
public static final ListOf.Type listOfConstraints
public static final ListOf.Type listOfEventAssignments
public static final ListOf.Type listOfEvents
public static final ListOf.Type listOfFunctionDefinitions
public static final ListOf.Type listOfInitialAssignments
public static final ListOf.Type listOfLocalParameters
public static final ListOf.Type listOfModifiers
public static final ListOf.Type listOfParameters
public static final ListOf.Type listOfProducts
public static final ListOf.Type listOfReactants
public static final ListOf.Type listOfReactions
public static final ListOf.Type listOfRules
public static final ListOf.Type listOfSpecies
public static final ListOf.Type listOfSpeciesTypes
public static final ListOf.Type listOfUnitDefinitions
public static final ListOf.Type listOfUnits
public static final ListOf.Type none
ListOf.Type
is not known yet or has not been
configured so far.public static final ListOf.Type other
public static ListOf.Type[] values()
for (ListOf.Type c : ListOf.Type.values()) System.out.println(c);
public static ListOf.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ListOf.Type valueOf(java.lang.Class<? extends SBase> type)
ListOf.Type
for the given Class
object. However, in the case of listOfReactants
and
listOfProducts
it is not possible to make a distinction
because both types refer to the same Class
object. Therefore,
in this case this method will return the type other
, which
is to be clearly distinguished from none
.type
- public java.lang.Class<? extends SBase> toClass()
Class
object for this ListOf.Type
.
However, in case of listOfReactants
and
listOfProducts
the same Class
object is returned.