diff options
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.core.model/src/org/eclipse/tcf/te/tcf/core/model/interfaces/services/IModelLookupService.java')
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.tcf.core.model/src/org/eclipse/tcf/te/tcf/core/model/interfaces/services/IModelLookupService.java | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.core.model/src/org/eclipse/tcf/te/tcf/core/model/interfaces/services/IModelLookupService.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.core.model/src/org/eclipse/tcf/te/tcf/core/model/interfaces/services/IModelLookupService.java index aa0ae0e28..09e859838 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.core.model/src/org/eclipse/tcf/te/tcf/core/model/interfaces/services/IModelLookupService.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.core.model/src/org/eclipse/tcf/te/tcf/core/model/interfaces/services/IModelLookupService.java @@ -1,44 +1,44 @@ -/*******************************************************************************
- * Copyright (c) 2012 Wind River Systems, Inc. and others. All rights reserved.
- * This program and the accompanying materials are made available under the terms
- * of the Eclipse Public License v1.0 which accompanies this distribution, and is
- * available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Wind River Systems - initial API and implementation
- *******************************************************************************/
-package org.eclipse.tcf.te.tcf.core.model.interfaces.services;
-
-import java.util.UUID;
-
-import org.eclipse.tcf.te.runtime.model.interfaces.IModelNode;
-
-/**
- * Common interface to be implemented by a model lookup service.
- */
-public interface IModelLookupService extends IModelService {
-
- /**
- * Search the associated model for a model node matching the given UUID.
- *
- * @param uuid The UUID. Must not be <code>null</code>.
- * @return The model node instance, or <code>null</code> if the node cannot be found.
- */
- public IModelNode lkupModelNodeByUUID(UUID uuid);
-
- /**
- * Search the associated model for model nodes matching the given id.
- *
- * @param id The id. Must not be <code>null</code>.
- * @return The model node instances, or an empty list.
- */
- public IModelNode[] lkupModelNodesById(String id);
-
- /**
- * Search the associated model for model nodes matching the given name.
- *
- * @param name The name. Must not be <code>null</code>.
- * @return The model node instances, or an empty list.
- */
- public IModelNode[] lkupModelNodesByName(String name);
-}
+/******************************************************************************* + * Copyright (c) 2014 Wind River Systems, Inc. and others. All rights reserved. + * This program and the accompanying materials are made available under the terms + * of the Eclipse Public License v1.0 which accompanies this distribution, and is + * available at http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Wind River Systems - initial API and implementation + *******************************************************************************/ +package org.eclipse.tcf.te.tcf.core.model.interfaces.services; + +import java.util.UUID; + +import org.eclipse.tcf.te.runtime.model.interfaces.IModelNode; + +/** + * Common interface to be implemented by a model lookup service. + */ +public interface IModelLookupService extends IModelService { + + /** + * Search the associated model for a model node matching the given UUID. + * + * @param uuid The UUID. Must not be <code>null</code>. + * @return The model node instance, or <code>null</code> if the node cannot be found. + */ + public IModelNode lkupModelNodeByUUID(UUID uuid); + + /** + * Search the associated model for model nodes matching the given id. + * + * @param id The id. Must not be <code>null</code>. + * @return The model node instances, or an empty list. + */ + public IModelNode[] lkupModelNodesById(String id); + + /** + * Search the associated model for model nodes matching the given name. + * + * @param name The name. Must not be <code>null</code>. + * @return The model node instances, or an empty list. + */ + public IModelNode[] lkupModelNodesByName(String name); +} |