public abstract class AnalyzableElementDependency<S extends IAnalyzableElement,T extends IAnalyzableElement>
extends java.lang.Object
implements org.pfsw.odem.IDependency<S,T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TXT_EXTENDS |
static java.lang.String |
TXT_IMPLEMENTS |
static java.lang.String |
TXT_NEEDS |
static java.lang.String |
TXT_USES |
Modifier | Constructor and Description |
---|---|
protected |
AnalyzableElementDependency()
Initialize the new instance with default values.
|
Modifier and Type | Method and Description |
---|---|
ClassInformationDependency[] |
getClassDependencies()
Returns all class dependencies that cause this higher level dependency.
|
org.pfsw.odem.DependencyClassification |
getDependencyClassification() |
java.lang.String |
getDependencyType()
Returns the text ID for type of this dependency.
|
protected org.pfsw.odem.IObjectProperties |
getOtherProperties() |
java.lang.Object |
getProperty(java.lang.String propertyName)
Returns the property associated with the given name.
|
java.lang.String[] |
getPropertyNames()
Returns all currently known properties.
|
abstract S |
getSourceElement() |
abstract T |
getTargetElement() |
Workset |
getWorkset()
Returns the workset this dependency belongs to
|
protected void |
setDependencyClassification(org.pfsw.odem.DependencyClassification newValue) |
protected void |
setOtherProperties(org.pfsw.odem.IObjectProperties newValue) |
void |
setProperty(java.lang.String propertyName,
java.lang.Object object)
Sets the value of the property with the specified name to the given object.
|
java.lang.String |
toString() |
public static final java.lang.String TXT_NEEDS
public static final java.lang.String TXT_EXTENDS
public static final java.lang.String TXT_IMPLEMENTS
public static final java.lang.String TXT_USES
protected AnalyzableElementDependency()
public org.pfsw.odem.DependencyClassification getDependencyClassification()
getDependencyClassification
in interface org.pfsw.odem.IDependency<S extends IAnalyzableElement,T extends IAnalyzableElement>
protected void setDependencyClassification(org.pfsw.odem.DependencyClassification newValue)
protected org.pfsw.odem.IObjectProperties getOtherProperties()
protected void setOtherProperties(org.pfsw.odem.IObjectProperties newValue)
public abstract S getSourceElement()
getSourceElement
in interface org.pfsw.odem.IDependency<S extends IAnalyzableElement,T extends IAnalyzableElement>
public abstract T getTargetElement()
getTargetElement
in interface org.pfsw.odem.IDependency<S extends IAnalyzableElement,T extends IAnalyzableElement>
public java.lang.String getDependencyType()
public ClassInformationDependency[] getClassDependencies()
public Workset getWorkset()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object getProperty(java.lang.String propertyName)
getProperty
in interface org.pfsw.odem.IObjectProperties
propertyName
- A valid name (must not be null or empty string)public void setProperty(java.lang.String propertyName, java.lang.Object object)
setProperty
in interface org.pfsw.odem.IObjectProperties
propertyName
- A valid name (must not be null or empty string)object
- The object to keep under the specified property namepublic java.lang.String[] getPropertyNames()
getPropertyNames
in interface org.pfsw.odem.IObjectProperties