public class ClassDependencyTypeImpl extends DependencyTypeImpl
net.sourceforge.plantumldependency.generic.type.ClassDependencyType interface.| Constructor and Description |
|---|
ClassDependencyTypeImpl(String dependencyName,
String dependencyPackageName)
Default constructor.
|
ClassDependencyTypeImpl(String dependencyName,
String dependencyPackageName,
ImportDependenciesCollection importDependencies,
GenericDependency parentExtensionsDependency,
Set<GenericDependency> parentImplementationsDependenciesSet,
Set<GenericDependency> annotationsDependenciesSet)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected PlantUMLClassesDiagramElement |
generatePlantUMLClassesDiagramElement()
Generates the plantUML classes diagram element.
|
boolean |
isDisplayable(Set<DisplayType> displayTypesOptions,
Pattern displayPackageNamePattern,
Pattern displayNamePattern)
Tells if the dependency has to be displayed following the passed display options (type, name
and package name).
|
String |
toString() |
compareTo, deepClone, equals, generateDependencyFullName, getAnnotationsDependencies, getFullName, getImportDependenciesCollection, getName, getPackageName, getParentExtensionsDependencies, getParentImplementationsDependencies, getPlantUMLClassesDiagramElement, getPlantUMLClassesDiagramRelations, getPlantUMLClassesDiagramRelations, hashCode, setFullNamepublic ClassDependencyTypeImpl(String dependencyName, String dependencyPackageName)
dependencyName - The dependency type name, such as "String", mustn't be null.dependencyPackageName - The dependency type package name, such as "java.lang", mustn't be
null.public ClassDependencyTypeImpl(String dependencyName, String dependencyPackageName, ImportDependenciesCollection importDependencies, GenericDependency parentExtensionsDependency, Set<GenericDependency> parentImplementationsDependenciesSet, Set<GenericDependency> annotationsDependenciesSet)
dependencyName - The dependency type name, such as "String", mustn't be null.dependencyPackageName - The dependency type package name, such as "java.lang", mustn't be
null.importDependencies - the ImportDependenciesCollection containing all import dependencies which
are needed by the current dependency type to work, mustn't be null.parentExtensionsDependency - the parent extensions GenericDependency which are used by the current
dependency type, may be null.parentImplementationsDependenciesSet - the Set of all implementations as GenericDependency which are used
by the current dependency type, mustn't be null.annotationsDependenciesSet - the Set of all annotations as GenericDependency which are used by
the current dependency type, mustn't be null.protected PlantUMLClassesDiagramElement generatePlantUMLClassesDiagramElement()
generatePlantUMLClassesDiagramElement in class DependencyTypeImplPlantUMLClassesDiagramElement containing the plantUML classes diagram
element of the current dependency type.public boolean isDisplayable(Set<DisplayType> displayTypesOptions, Pattern displayPackageNamePattern, Pattern displayNamePattern)
displayTypesOptions - the Set of display types options which filter type, mustn't be
null, if empty, this method always returns false,
mustn't be null.displayPackageNamePattern - the Pattern which filter package name, mustn't be null.displayNamePattern - the Pattern which filter name, mustn't be null.true if the dependency has to be displayed, false
otherwise.public String toString()
toString in class DependencyTypeImplCopyright © 2014 Sourceforge. All rights reserved.