public class DependencyClassNode extends DependencyNode<DependencyClassNode> implements java.lang.Comparable<DependencyClassNode>
Constructor and Description |
---|
DependencyClassNode(ClassInformation classInfo)
Initialize the new instance with default values.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DependencyClassNode obj) |
boolean |
equals(java.lang.Object obj) |
java.util.List<DependencyClassNode> |
getAllDependants()
Returns all nodes that are dependants of this node.
|
java.util.List<DependencyClassNode> |
getAllDependencies()
Returns all nodes that are prerequisites of this node.
|
ClassInformation |
getClassInfo() |
java.lang.String |
getClassName()
Returns the name of the class this node represents
|
ClassPackage |
getClassPackage()
Returns the package this class belongs to.
|
ClassInformation[] |
getDirectlyReferredClasses()
Returns an array of class information objects containing all classes
that this node's class depends on directly.
|
java.lang.String |
getJustClassName()
Returns the name of the associated class without package prefix
|
java.util.List<ClassInformation> |
getListOfDirectlyReferredAndInjectedClasses()
Returns a list of class information objects containing all classes
that this node's class depends on directly.
|
java.util.List<ClassInformation> |
getListOfDirectlyReferredClasses()
Returns a list of class information objects containing all classes
that this node's class depends on directly.
|
java.lang.String |
getPackageName()
Returns the package name the associated class belongs to
|
Workset |
getWorkset()
Returns the workset in which this class information is currently hold
|
int |
hashCode() |
boolean |
holdsClassInfo(ClassInformation classInformation)
Returns true if the given class information is equal to the one hold by
this node.
|
DependencyClassNode[] |
prerequisites()
Returns all nodes that are prerequisites of this node.
|
protected void |
setClassInfo(ClassInformation newValue) |
protected StringUtil |
str() |
java.lang.String |
toString() |
addDependant, addPrerequisite, addPrerequisiteWithBackLink, getDependants, getPrerequisites, setDependants, setPrerequisites
getCurrentState, isDone, isInProgress, isNew, setCurrentState, setDone, setInProgress, setNew
public DependencyClassNode(ClassInformation classInfo)
public ClassInformation getClassInfo()
public java.lang.String getClassName()
public java.lang.String getJustClassName()
public ClassPackage getClassPackage()
public java.lang.String getPackageName()
public ClassInformation[] getDirectlyReferredClasses()
public java.util.List<ClassInformation> getListOfDirectlyReferredClasses()
public java.util.List<ClassInformation> getListOfDirectlyReferredAndInjectedClasses()
public java.util.List<DependencyClassNode> getAllDependencies()
public DependencyClassNode[] prerequisites()
public java.util.List<DependencyClassNode> getAllDependants()
public boolean holdsClassInfo(ClassInformation classInformation)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(DependencyClassNode obj)
compareTo
in interface java.lang.Comparable<DependencyClassNode>
public Workset getWorkset()
public java.lang.String toString()
toString
in class java.lang.Object
protected void setClassInfo(ClassInformation newValue)
protected StringUtil str()