public class ClassContainerDependency extends AnalyzableElementDependency<ClassContainer,ClassContainer>
TXT_EXTENDS, TXT_IMPLEMENTS, TXT_NEEDS, TXT_USES
Constructor and Description |
---|
ClassContainerDependency(ClassContainer fromContainer,
ClassContainer toContainer)
Initialize the new instance with the source and target package.
|
Modifier and Type | Method and Description |
---|---|
protected CollectionUtil |
coll() |
protected void |
collectDependenciesToTarget(java.util.Collection<ClassInformationDependency> result,
ClassInformation classInfo) |
ClassInformationDependency[] |
getClassDependencies()
Returns an array of class dependencies that cause the dependency of the
two packages represented by this object.
|
ClassContainer |
getSource() |
ClassContainer |
getSourceElement()
Returns the element that depends on the target element
|
ClassContainer |
getTarget() |
ClassContainer |
getTargetElement()
Returns the element the source element depends on
|
protected void |
setSource(ClassContainer newValue) |
protected void |
setTarget(ClassContainer newValue) |
getDependencyClassification, getDependencyType, getOtherProperties, getProperty, getPropertyNames, getWorkset, setDependencyClassification, setOtherProperties, setProperty, toString
public ClassContainerDependency(ClassContainer fromContainer, ClassContainer toContainer)
public ClassContainer getSource()
protected void setSource(ClassContainer newValue)
public ClassContainer getTarget()
protected void setTarget(ClassContainer newValue)
public ClassContainer getSourceElement()
getSourceElement
in interface org.pfsw.odem.IDependency<ClassContainer,ClassContainer>
getSourceElement
in class AnalyzableElementDependency<ClassContainer,ClassContainer>
public ClassContainer getTargetElement()
getTargetElement
in interface org.pfsw.odem.IDependency<ClassContainer,ClassContainer>
getTargetElement
in class AnalyzableElementDependency<ClassContainer,ClassContainer>
public ClassInformationDependency[] getClassDependencies()
getClassDependencies
in class AnalyzableElementDependency<ClassContainer,ClassContainer>
protected void collectDependenciesToTarget(java.util.Collection<ClassInformationDependency> result, ClassInformation classInfo)
protected CollectionUtil coll()