public static enum DemandTag.DemandType extends Enum<DemandTag.DemandType>
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Enum Constant and Description |
|---|
FACTOR
Demand given in other tag to which a factor applies.
|
FACTORS
Demand given in other tag to which a factors apply.
|
FREQUENCIES
Frequencies that apply to the global time vector.
|
TIMED_FACTORS
Timed factors that apply to demand in another tag.
|
TIMED_FREQUENCIES
Timed frequencies.
|
| Modifier and Type | Method and Description |
|---|---|
static DemandTag.DemandType |
fromLevelNode(Node level)
Returns the demand type based on a LEVEL tag.
|
static DemandTag.DemandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DemandTag.DemandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DemandTag.DemandType FACTOR
public static final DemandTag.DemandType FACTORS
public static final DemandTag.DemandType TIMED_FACTORS
public static final DemandTag.DemandType FREQUENCIES
public static final DemandTag.DemandType TIMED_FREQUENCIES
public static DemandTag.DemandType[] values()
for (DemandTag.DemandType c : DemandTag.DemandType.values()) System.out.println(c);
public static DemandTag.DemandType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static DemandTag.DemandType fromLevelNode(Node level) throws XmlParserException
level - level of the nodeXmlParserException - if the VALUE attribute is missingCopyright © 2014–2018 Delft University of Technology. All rights reserved.