public class LocalError extends Object
| Modifier and Type | Field and Description |
|---|---|
static LocalError |
MINIMAL_EMPTY_ERROR
The minimal possible error not assigned to any node or chemical entity.
|
| Constructor and Description |
|---|
LocalError(Updatable updatable,
ChemicalEntity entity,
double value)
Creates a new LocalError.
|
| Modifier and Type | Method and Description |
|---|---|
ChemicalEntity |
getChemicalEntity()
Returns the chemical entity where the error occurred.
|
Updatable |
getUpdatable()
Returns the node where the error occurred.
|
double |
getValue()
Returns the actual value of the error.
|
String |
toString() |
public static final LocalError MINIMAL_EMPTY_ERROR
public LocalError(Updatable updatable, ChemicalEntity entity, double value)
updatable - The node where the error occurred.entity - The chemical entity where the error occurred.value - The actual value of the error.public Updatable getUpdatable()
public ChemicalEntity getChemicalEntity()
public double getValue()
Copyright © 2018. All rights reserved.