|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface representing dependencies between development components, or development component and public parts.
| Method Summary | |
boolean |
equals(Dependency dep)
Determines whether this instance is equal to the one passed as parameter. |
java.lang.String |
getBuildTimeQualifier()
|
DCReference |
getComponent()
Returns the development or software component to which this dependency points. |
java.lang.String |
getDeployTimeQualifier()
|
java.lang.String |
getDesignTimeQualifier()
|
java.lang.String |
getPublicPart()
Returns the public part to which this dependency points (if any). |
PPReference |
getPublicPartDependency()
Returns this dependency as reference to a public part. |
java.lang.String |
getRuntimeQuialifier()
Returs the qualifier of the runtime dependency, for example "weak" or "strong". |
boolean |
isAtBuildTime()
Checks whether this dependency is relevant for the component build process. |
boolean |
isAtDeployTime()
Checks whether this dependency is relevant for deployment. |
boolean |
isAtDesignTime()
Checks whether this dependency is relevant on the level of development entities. |
boolean |
isAtRunTime()
Checks whether this dependency is relevant for the runtime system. |
boolean |
isForChildrenOnly()
Returns whether the purpose of this dependency is to allow inner components to define own dependencies. |
void |
serialize(XMLWriter writer)
Serializes the reference to the given XMLWriter. |
void |
serialize(XMLWriter writer,
java.lang.String formatVersion)
|
void |
setAtBuildTime(boolean atBuildTime)
Sets whether this dependency is relevant for the component build process. |
void |
setAtBuildTime(boolean atBuildTime,
java.lang.String qualifier)
|
void |
setAtDeployTime(boolean atDeployTime)
Sets whether this dependency is relevant for deployment. |
void |
setAtDeployTime(boolean atDeployTime,
java.lang.String qualifier)
|
void |
setAtDesignTime(boolean atDesignTime)
Sets whether this dependency is valid is relevant on the level of development entities. |
void |
setAtDesignTime(boolean atDesignTime,
java.lang.String qualifier)
|
void |
setAtRunTime(boolean atRunTime)
Sets whether this dependency is relevant for the runtime system. |
void |
setAtRunTime(boolean atRuntime,
java.lang.String qualifier)
Sets whether this dependency is relevant for the runtime system. |
void |
setBuildTimeQualifier(java.lang.String qualifier)
|
void |
setComponent(DCReference component)
Declares the development or software component to which this dependency points. |
void |
setDeployTimeQualifier(java.lang.String qualifier)
|
void |
setDesignTimeQualifier(java.lang.String qualifier)
|
void |
setForChildrenOnly(boolean forChildrenOnly)
Sets whether the purpose of this dependency is to allow inner components to define own dependencies. |
void |
setPublicPart(java.lang.String publicPart)
Sets the public part to which this dependency points (if any). |
void |
setPublicPartDependency(PPReference ref)
Sets this dependency from the given reference to a public part. |
void |
setRuntimeQualifier(java.lang.String qualifier)
Sets the qualifier of the runtime dependency |
void |
validate()
Verifies that the depedency is valid (according to the DTD). |
| Methods inherited from interface com.sap.tc.complib.Identifiable |
getUniqueKey |
| Method Detail |
public DCReference getComponent()
public void setComponent(DCReference component)
reference - to a component.public java.lang.String getPublicPart()
public void setPublicPart(java.lang.String publicPart)
public PPReference getPublicPartDependency()
public void setPublicPartDependency(PPReference ref)
public boolean isForChildrenOnly()
public void setForChildrenOnly(boolean forChildrenOnly)
if - true, inner components are allowed to declare own dependencies.public boolean isAtDesignTime()
public void setAtDesignTime(boolean atDesignTime)
true, - if the dependency should be relevant at design time.
public void setAtDesignTime(boolean atDesignTime,
java.lang.String qualifier)
atDesignTime - qualifier - public void setDesignTimeQualifier(java.lang.String qualifier)
qualifier - public java.lang.String getDesignTimeQualifier()
public boolean isAtBuildTime()
public void setAtBuildTime(boolean atBuildTime)
true, - if the dependency should be relevant for the component build process.
public void setAtBuildTime(boolean atBuildTime,
java.lang.String qualifier)
atBuildTime - qualifier - public void setBuildTimeQualifier(java.lang.String qualifier)
qualifier - public java.lang.String getBuildTimeQualifier()
public boolean isAtDeployTime()
public void setAtDeployTime(boolean atDeployTime)
true, - if the dependency should be relevant for deployment.
public void setAtDeployTime(boolean atDeployTime,
java.lang.String qualifier)
atDeployTime - qualifier - public java.lang.String getDeployTimeQualifier()
public void setDeployTimeQualifier(java.lang.String qualifier)
qualifier - public boolean isAtRunTime()
public void setAtRunTime(boolean atRunTime)
true, - if the dependency should be relevant for the runtime system.
public void setAtRunTime(boolean atRuntime,
java.lang.String qualifier)
true, - if the dependency should be relevant for the runtime system.qualifier - an optional attribute that allows to specify the quality or
kind of this dependency in the runtime system.public java.lang.String getRuntimeQuialifier()
public void setRuntimeQualifier(java.lang.String qualifier)
qualifier - an identifier that describes the quality or kind of this
dependency in the runtime system
public void validate()
throws ValidationException
ValidationException - if the object is not valid.
public void serialize(XMLWriter writer)
throws ValidationException
writer - the XMLWriter to use for serialization.
public void serialize(XMLWriter writer,
java.lang.String formatVersion)
throws ValidationException
public boolean equals(Dependency dep)
dep - the Dependency that is tested to be equal with this one
|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||