Class SearchResult
- java.lang.Object
-
- net.ssehub.easy.varModel.model.search.SearchResult
-
public class SearchResult extends java.lang.ObjectDescribes 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 Summary
Fields Modifier and Type Field Description private java.lang.ObjectelementThe related element.private java.lang.StringmatchedNameThe matched name.
-
Constructor Summary
Constructors Constructor Description SearchResult(java.lang.String matchedName, java.lang.Object element)Creates a search result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetElement()Returns the related (model) element.java.lang.StringgetMatchedName()Returns the matched name.
-
-
-
Field Detail
-
matchedName
private java.lang.String matchedName
The matched name.
-
element
private java.lang.Object element
The related element. This is of type object asModelElementis too restrictive, e.g. for project imports.
-
-