public class AfferentNode extends PackageNode
AfferentNode class is a
PackageNode for an afferent
Java package and its afferent packages.| Constructor and Description |
|---|
AfferentNode(PackageNode parent,
JavaPackage jPackage)
Constructs an
AfferentNode with
the specified parent node and afferent Java
package. |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection |
getCoupledPackages()
Returns the collection of Java packages
coupled to the package represented in this node.
|
protected PackageNode |
makeNode(PackageNode parent,
JavaPackage jPackage)
Creates and returns a
PackageNode
with the specified parent node and Java package. |
java.lang.String |
toString()
Returns the string representation of this node
in it's current tree context.
|
getChildren, getPackage, getParent, isChild, isLeaf, toMetricsStringpublic AfferentNode(PackageNode parent, JavaPackage jPackage)
AfferentNode with
the specified parent node and afferent Java
package.parent - Parent package node.jPackage - Afferent Java package.protected PackageNode makeNode(PackageNode parent, JavaPackage jPackage)
PackageNode
with the specified parent node and Java package.makeNode in class PackageNodeparent - Parent package node.jPackage - Java package.PackageNodeprotected java.util.Collection getCoupledPackages()
getCoupledPackages in class PackageNodepublic java.lang.String toString()
toString in class PackageNodeCopyright ? 1999-2002 Clarkware Consulting, Inc. All Rights Reserved.