Class ReferenceValuesFinder
- java.lang.Object
-
- net.ssehub.easy.varModel.model.filter.ReferenceValuesFinder
-
public class ReferenceValuesFinder extends java.lang.ObjectClass for finding relevantAbstractVariables matching to the data type of a givenReference.- Author:
- El-Sharkawy
-
-
Constructor Summary
Constructors Constructor Description ReferenceValuesFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<AbstractVariable>findPossibleValues(Project project, IDatatype type)static java.util.List<AbstractVariable>findPossibleValues(Project project, Reference refType)Searches inside the wholeProjectforAbstractVariables, which can be referenced byIDecisionVariables of the givenReferencetype.
-
-
-
Method Detail
-
findPossibleValues
public static java.util.List<AbstractVariable> findPossibleValues(Project project, Reference refType)
Searches inside the wholeProjectforAbstractVariables, which can be referenced byIDecisionVariables of the givenReferencetype.- Parameters:
project- The project which should contain all relevant possible variable, which can be used to configure the givenReferencevariable.refType- A givenReference, for which relevant/possibleAbstractVariables should be found.- Returns:
- A list of all relevant
AbstractVariablefound in the given project with the correct data type. This list is maybe empty, but not null.
-
findPossibleValues
public static java.util.List<AbstractVariable> findPossibleValues(Project project, IDatatype type)
- Parameters:
project- The project which should contain all relevant possible variable, which can be used to configure the givenReferencevariable.type- A given type for which relevant/possibleAbstractVariables should be found.- Returns:
- A list of all relevant
AbstractVariablefound in the given project with the correct data type. This list is maybe empty, but not null.
-
-