public class GenericDependencyImpl extends Object implements GenericDependency
GenericDependency interface.| Constructor and Description |
|---|
GenericDependencyImpl(DependencyType type)
Default constructor, with a dependency type.
|
GenericDependencyImpl(String dependencyName,
String dependencyPackageName)
Stub constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(GenericDependency a) |
GenericDependency |
deepClone() |
boolean |
equals(Object obj) |
DependencyType |
getDependencyType()
Gets the underlying dependency type, which determines the real nature of the dependency.
|
String |
getFullName()
Gets the dependency full name, usually the package and the dependency name.
|
String |
getName()
Gets the dependency name, usually the class name.
|
String |
getPackageName()
Gets the dependency package name.
|
int |
hashCode() |
void |
setDependencyType(DependencyType value)
Sets the underlying dependency type, which determines the real nature of the dependency.
|
String |
toString() |
public GenericDependencyImpl(DependencyType type)
type - the underlying dependency type, which determines the real nature of the
dependency, mustn't be null.public GenericDependencyImpl(String dependencyName, String dependencyPackageName)
StubDependencyTypeImpl is used instead.dependencyName - the dependency name, usually the class name, mustn't be null nor
empty.dependencyPackageName - the dependency package name, mustn't be null nor empty.public int compareTo(GenericDependency a)
compareTo in interface Comparable<GenericDependency>public GenericDependency deepClone()
deepClone in interface net.sourceforge.plantumldependency.common.clone.DeepCloneable<GenericDependency>public DependencyType getDependencyType()
getDependencyType in interface GenericDependencyDependencyType instance of the current abstract dependency.public String getFullName()
For instance, in java it can be :
java.lang.String
java.io.Serializable
sun.font.Decoration
getFullName in interface GenericDependencypublic String getName()
For instance, in java it can be :
String
Serializable
Decoration
getName in interface GenericDependencypublic String getPackageName()
For instance, in java it can be :
java.lang
java.io
sun.font
getPackageName in interface GenericDependencypublic void setDependencyType(DependencyType value)
setDependencyType in interface GenericDependencyvalue - the DependencyType instance of the current abstract dependency, mustn't be
null.Copyright © 2014 Sourceforge. All rights reserved.