Interface ModelUtils.IModelFinder<M extends IModel,​E>

  • Type Parameters:
    M - the model type
    E - the model element type
    All Known Implementing Classes:
    VilModelQuery, VtlModelQuery
    Enclosing class:
    ModelUtils

    public static interface ModelUtils.IModelFinder<M extends IModel,​E>
    A model finder for a certain model. Model imports are handled by caller.
    Author:
    Holger Eichelberger
    • Method Detail

      • findElement

        E findElement​(M model,
                      java.lang.String name)
        Tries to find an element declaration for name.
        Parameters:
        model - the model
        name - the name to search for
        Returns:
        the declaration or null