Class NameAccessPathElement
- java.lang.Object
-
- net.ssehub.easy.varModel.confModel.paths.NameAccessPathElement
-
- All Implemented Interfaces:
IResolutionPathElement
public class NameAccessPathElement extends java.lang.Object implements IResolutionPathElement
Represents a name-based access path element, e.g., for compounds.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringnameprivate IResolutionPathElementparent
-
Constructor Summary
Constructors Constructor Description NameAccessPathElement(IResolutionPathElement parent, java.lang.String name)Creates a name access path element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDecisionVariableresolve(IConfiguration config)Resolves this path forconfig.
-
-
-
Field Detail
-
parent
private IResolutionPathElement parent
-
name
private java.lang.String name
-
-
Constructor Detail
-
NameAccessPathElement
public NameAccessPathElement(IResolutionPathElement parent, java.lang.String name)
Creates a name access path element.- Parameters:
parent- the parent pathname- the name representing the access
-
-
Method Detail
-
resolve
public IDecisionVariable resolve(IConfiguration config)
Description copied from interface:IResolutionPathElementResolves this path forconfig.- Specified by:
resolvein interfaceIResolutionPathElement- Parameters:
config- the configuration to resolve on- Returns:
- the resolved decision variable (may be null if resolution fails)
-
-