Class SearchResult
java.lang.Object
net.ssehub.easy.varModel.model.search.SearchResult
Describes a search result. Note that each model element may be included multiple
times in a search result, e.g. via its simple and its qualified name.
- Author:
- Holger Eichelberger
-
Field Details
-
matchedName
The matched name. -
element
The related element. This is of type object asModelElementis too restrictive, e.g. for project imports.
-
-
Constructor Details
-
SearchResult
Creates a search result.- Parameters:
matchedName- the matched nameelement- the related element
-
-
Method Details
-
getMatchedName
Returns the matched name.- Returns:
- the matched name
-
getElement
Returns the related (model) element.- Returns:
- the related element
-