@Portable public class Scenario extends Object
| Constructor and Description |
|---|
Scenario() |
Scenario(SimulationDescriptor simulationDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
FactMappingValue |
addMappingValue(FactIdentifier factIdentifier,
ExpressionIdentifier expressionIdentifier,
Object value) |
FactMappingValue |
addOrUpdateMappingValue(FactIdentifier factIdentifier,
ExpressionIdentifier expressionIdentifier,
Object value) |
String |
getDescription() |
Optional<FactMappingValue> |
getFactMappingValue(FactIdentifier factIdentifier,
ExpressionIdentifier expressionIdentifier) |
Optional<FactMappingValue> |
getFactMappingValueByIndex(int index) |
List<FactMappingValue> |
getFactMappingValues() |
List<FactMappingValue> |
getFactMappingValuesByFactIdentifier(FactIdentifier factIdentifier) |
Collection<String> |
getFactNames() |
void |
setDescription(String name) |
public Scenario()
public Scenario(SimulationDescriptor simulationDescriptor)
public List<FactMappingValue> getFactMappingValues()
public FactMappingValue addMappingValue(FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier, Object value)
public FactMappingValue addOrUpdateMappingValue(FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier, Object value)
public Optional<FactMappingValue> getFactMappingValue(FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier)
public Optional<FactMappingValue> getFactMappingValueByIndex(int index)
public List<FactMappingValue> getFactMappingValuesByFactIdentifier(FactIdentifier factIdentifier)
public void setDescription(String name)
public String getDescription()
public Collection<String> getFactNames()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.