public class DependencyClassNode extends DependencyNode<DependencyClassNode> implements java.lang.Comparable<DependencyClassNode>
Constructor and Description |
---|
DependencyClassNode(org.pfsw.tools.cda.base.model.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.
|
org.pfsw.tools.cda.base.model.ClassInformation |
getClassInfo() |
java.lang.String |
getClassName()
Returns the name of the class this node represents
|
org.pfsw.tools.cda.base.model.ClassPackage |
getClassPackage()
Returns the package this class belongs to.
|
org.pfsw.tools.cda.base.model.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<org.pfsw.tools.cda.base.model.ClassInformation> |
getListOfDirectlyReferredAndInjectedClasses()
Returns a list of class information objects containing all classes
that this node's class depends on directly.
|
java.util.List<org.pfsw.tools.cda.base.model.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
|
org.pfsw.tools.cda.base.model.Workset |
getWorkset()
Returns the workset in which this class information is currently hold
|
int |
hashCode() |
boolean |
holdsClassInfo(org.pfsw.tools.cda.base.model.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(org.pfsw.tools.cda.base.model.ClassInformation newValue) |
protected org.pfsw.tools.cda.base.util.StringUtil |
str() |
java.lang.String |
toString() |
addDependant, addPrerequisite, addPrerequisiteWithBackLink, getDependants, getPrerequisites, setDependants, setPrerequisites
getCurrentState, isDone, isInProgress, isNew, setCurrentState, setDone, setInProgress, setNew
public DependencyClassNode(org.pfsw.tools.cda.base.model.ClassInformation classInfo)
public org.pfsw.tools.cda.base.model.ClassInformation getClassInfo()
public java.lang.String getClassName()
public java.lang.String getJustClassName()
public org.pfsw.tools.cda.base.model.ClassPackage getClassPackage()
public java.lang.String getPackageName()
public org.pfsw.tools.cda.base.model.ClassInformation[] getDirectlyReferredClasses()
public java.util.List<org.pfsw.tools.cda.base.model.ClassInformation> getListOfDirectlyReferredClasses()
public java.util.List<org.pfsw.tools.cda.base.model.ClassInformation> getListOfDirectlyReferredAndInjectedClasses()
public java.util.List<DependencyClassNode> getAllDependencies()
public DependencyClassNode[] prerequisites()
public java.util.List<DependencyClassNode> getAllDependants()
public boolean holdsClassInfo(org.pfsw.tools.cda.base.model.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 org.pfsw.tools.cda.base.model.Workset getWorkset()
public java.lang.String toString()
toString
in class java.lang.Object
protected void setClassInfo(org.pfsw.tools.cda.base.model.ClassInformation newValue)
protected org.pfsw.tools.cda.base.util.StringUtil str()