Class IvmlModelQuery

java.lang.Object
net.ssehub.easy.varModel.model.ModelQuery
net.ssehub.easy.varModel.model.IvmlModelQuery

public class IvmlModelQuery extends ModelQuery
Provides IVML specific model query operations.
Author:
Holger Eichelberger
  • Constructor Details

    • IvmlModelQuery

      public IvmlModelQuery()
  • Method Details

    • getElementsByNamePrefix

      public static List<SearchResult> getElementsByNamePrefix(ModelElement element, String namePrefix, QualifiedNameMode mode, SearchContext context, Class<?>... restrictions)
      Searches a given set of elements by a name prefix starting at element.
      Parameters:
      element - the element to start searching at
      namePrefix - the name prefix
      mode - the type name resolution mode to be applied
      context - additional information to include or exclude locally defined model elements
      restrictions - type restrictions on the elements to include into the search
      Returns:
      the search results
    • getElementsByNamePrefix

      public static List<SearchResult> getElementsByNamePrefix(ModelElement element, String namePrefix, SearchContext context, Class<?>... restrictions)
      Searches a given set of elements by a name prefix starting at element. Types are resolved to qualified names.
      Parameters:
      element - the element to start searching at
      namePrefix - the name prefix
      context - additional information to include or exclude locally defined model elements
      restrictions - type restrictions on the elements to include into the search
      Returns:
      the search results