public interface DependencyType extends Comparable<DependencyType>, Serializable, net.sourceforge.plantumldependency.common.clone.DeepCloneable<DependencyType>, Displayable
| Modifier and Type | Method and Description |
|---|---|
Set<GenericDependency> |
getAnnotationsDependencies()
Gets the
Set of all annotations as GenericDependency which are used by the
current dependency type. |
String |
getFullName()
Gets the dependency full name, usually the package and the dependency name.
|
ImportDependenciesCollection |
getImportDependenciesCollection()
Gets the
ImportDependenciesCollection containing all GenericDependency which
are needed by the current dependency type to work. |
String |
getName()
Gets the dependency name, usually the class name.
|
String |
getPackageName()
Gets the dependency package name.
|
Set<GenericDependency> |
getParentExtensionsDependencies()
Gets the
Set of all parent extensions as GenericDependency which are used by
the current dependency type, i.e. extended. |
Set<GenericDependency> |
getParentImplementationsDependencies()
Gets the
Set of all parent interfaces as GenericDependency which are used by
the current dependency type, i.e. implemented. |
PlantUMLClassesDiagramElement |
getPlantUMLClassesDiagramElement()
Gets the PlantUML classes diagram element describing the current dependency type in the
plantUML language.
|
Set<PlantUMLClassesDiagramRelation> |
getPlantUMLClassesDiagramRelations()
Gets the whole PlantUML classes diagram relations.
|
Set<PlantUMLClassesDiagramRelation> |
getPlantUMLClassesDiagramRelations(Set<DisplayType> displayTypesOptions,
Pattern displayPackageNamePattern,
Pattern displayNamePattern)
Gets the PlantUML classes diagram relations, following the imports, the dependency type
parents and the passed display options (type, name and package name).
|
void |
setFullName(String dependencyPackageName,
String dependencyName)
Sets the dependency full name, i.e. the package name and the class name.
|
compareTodeepCloneisDisplayableSet<GenericDependency> getAnnotationsDependencies()
Set of all annotations as GenericDependency which are used by the
current dependency type. If no dependencies annotations are used, it returns an empty
Set.Set of all annotations as GenericDependency which are used by the
current dependency type.String getFullName()
For instance, in java it can be :
java.lang.String
java.io.Serializable
sun.font.Decoration
ImportDependenciesCollection getImportDependenciesCollection()
ImportDependenciesCollection containing all GenericDependency which
are needed by the current dependency type to work.
For instance, in java it is represented by the import keyword.
ImportDependenciesCollection instance containing all
GenericDependency which are needed by the current dependency type to work.String getName()
For instance, in java it can be :
String
Serializable
Decoration
setFullName(String, String)String getPackageName()
For instance, in java it can be :
java.lang
java.io
sun.font
setFullName(String, String)Set<GenericDependency> getParentExtensionsDependencies()
Set of all parent extensions as GenericDependency which are used by
the current dependency type, i.e. extended. If no dependencies are extended, it returns an
empty Set.
For instance, in java it is represented by the extends keyword.
Set of all parent extensions as GenericDependency which are used
by the current dependency type.Set<GenericDependency> getParentImplementationsDependencies()
Set of all parent interfaces as GenericDependency which are used by
the current dependency type, i.e. implemented. If no dependencies interfaces are implemented,
it returns an empty Set.
For instance, in java it is represented by the implements keyword.
Set of all parent interfaces as GenericDependency which are used
by the current dependency type.PlantUMLClassesDiagramElement getPlantUMLClassesDiagramElement()
PlantUMLClassesDiagramElement
instance describing the current dependency type.Set<PlantUMLClassesDiagramRelation> getPlantUMLClassesDiagramRelations()
Set of
PlantUMLClassesDiagramRelation instances describing relations to imports and
the dependency type parents.Set<PlantUMLClassesDiagramRelation> getPlantUMLClassesDiagramRelations(Set<DisplayType> displayTypesOptions, Pattern displayPackageNamePattern, Pattern displayNamePattern)
displayTypesOptions - the Set of display types options which filter relations type, mustn't be
null, if empty, this method always returns false,
mustn't be null.displayPackageNamePattern - the Pattern which filter relations package name, if empty, this method
always returns false, mustn't be null.displayNamePattern - the Pattern which filter relations name, if empty, this method always
returns false, mustn't be null.Set of
PlantUMLClassesDiagramRelation instances describing relations to imports and
the dependency type parents.void setFullName(String dependencyPackageName, String dependencyName)
For instance, in java it can be :
String
Serializable
Decoration
dependencyPackageName - the new package name to set, may be null.dependencyName - the dependency name to set, mustn't be null.getName(),
getPackageName()Copyright © 2014 Sourceforge. All rights reserved.