Interface IDefaultRegistryView
-
- All Superinterfaces:
IQuerySpecificationRegistryChangeListener
,IRegistryView
public interface IDefaultRegistryView extends IRegistryView
The default registry view ensures that the fully qualified name of entries are unique and provides an additional method for retrieving the query group of entries for easy initialization.- Since:
- 1.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IQuerySpecificationRegistryEntry
getEntry(java.lang.String fullyQualifiedName)
IQueryGroup
getQueryGroup()
-
Methods inherited from interface org.eclipse.viatra.query.runtime.registry.IQuerySpecificationRegistryChangeListener
entryAdded, entryRemoved
-
Methods inherited from interface org.eclipse.viatra.query.runtime.registry.IRegistryView
addViewListener, getEntries, getEntries, getQuerySpecificationFQNs, getRegistry, hasQuerySpecificationFQN, removeViewListener
-
-
-
-
Method Detail
-
getQueryGroup
IQueryGroup getQueryGroup()
- Returns:
- a query group containing all query specifications
-
getEntry
IQuerySpecificationRegistryEntry getEntry(java.lang.String fullyQualifiedName)
- Parameters:
fullyQualifiedName
- of the entry that is requested- Returns:
- the entry with the given FQN
- Throws:
java.util.NoSuchElementException
- if there is no such entry in the default view
-
-