public interface ImportDependenciesCollection extends Serializable, net.sourceforge.plantumldependency.common.clone.DeepCloneable<ImportDependenciesCollection>
GenericDependency.| Modifier and Type | Method and Description |
|---|---|
void |
addImportDependencies(ImportType importType,
GenericDependency importDependency)
Add an import dependency to the collection, with its type.
|
void |
addImportDependenciesSet(ImportType importType,
Set<GenericDependency> importDependenciesSet)
Add a
Set of several import dependencies to the collection, with their type. |
GenericDependency |
findDependency(String dependencyName)
Finds the dependency following its name in the collection. be careful, this method doesn't
take care of the package name.
|
GenericDependency |
findDependency(String dependencyName,
String dependencyPackageName)
Finds the dependency following its name and its package name in the collection.
|
Set<GenericDependency> |
getAllImportDependencies()
Gets the
Set of all GenericDependency which are needed by the current
dependency type to work. |
Set<GenericDependency> |
getImportDependenciesWithType(ImportType importType)
Gets the
Set of GenericDependency which are needed by the current dependency
type to work and have the following type. |
Set<GenericDependency> |
getImportDependenciesWithTypes(Set<ImportType> importTypesSet)
Gets the
Set of GenericDependency which are needed by the current dependency
type to work and have one of the following type contained in the Set. |
void addImportDependencies(ImportType importType, GenericDependency importDependency)
importType - the import dependency ImportType instance, mustn't be null.importDependency - the GenericDependency instance, mustn't be null.void addImportDependenciesSet(ImportType importType, Set<GenericDependency> importDependenciesSet)
Set of several import dependencies to the collection, with their type.importType - the import type ImportType instance, mustn't be null.importDependenciesSet - the Set containing import GenericDependency instances, mustn't be
null.GenericDependency findDependency(String dependencyName)
dependencyName - the dependency name to look for, mustn't be null.GenericDependency instance associated to the passed name if found in the
import import collection, null otherwise.GenericDependency findDependency(String dependencyName, String dependencyPackageName)
dependencyName - the dependency name to look for, mustn't be null.dependencyPackageName - the dependency package name to look for, mustn't be null.GenericDependency instance associated to the passed name and package name
if found in the import collection, null otherwise.Set<GenericDependency> getAllImportDependencies()
Set of all GenericDependency which are needed by the current
dependency type to work. If no dependencies are needed, it returns an empty Set.
For instance, in java it is represented by the import keyword.
Set of all GenericDependency which are needed by the current
dependency type to work.Set<GenericDependency> getImportDependenciesWithType(ImportType importType)
Set of GenericDependency which are needed by the current dependency
type to work and have the following type. If no dependencies are needed with this type, it
returns an empty Set.
For instance, in java it is represented by the import keyword.
importType - the import type to look for, mustn't be null.Set of GenericDependency which are needed by the current
dependency type to work and have the following types.Set<GenericDependency> getImportDependenciesWithTypes(Set<ImportType> importTypesSet)
Set of GenericDependency which are needed by the current dependency
type to work and have one of the following type contained in the Set. If no
dependencies are needed with these types, it returns an empty Set.
For instance, in java it is represented by the import keyword.
importTypesSet - the Set of all import types to look for, mustn't be null.Set of all GenericDependency which are needed by the current
dependency type to work.Copyright © 2014 Sourceforge. All rights reserved.