|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sap.tc.complib.PPReference
Class representing references to public parts.
| Constructor Summary | |
PPReference()
Create a new empty instance. |
|
PPReference(Dependency dependency)
Creates a new instance from the given dependency. |
|
PPReference(java.lang.String name,
DCReference component)
Creates a new instance with given name and component. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
DCReference |
getComponent()
Returns the development component to which the referenced public part belongs |
java.lang.String |
getName()
Returns the name of the referenced public part |
int |
hashCode()
|
void |
serialize(XMLWriter writer)
Serializes the reference to the given XMLWriter. |
void |
setComponent(DCReference component)
Declares the development component to which the referenced public part belongs |
void |
setName(java.lang.String name)
Sets the name of the referenced public part |
java.lang.String |
toString()
|
void |
validate()
Verifies that the reference is valid. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PPReference()
public PPReference(java.lang.String name,
DCReference component)
name - name of the public part.component - the development component to which the public parts belongspublic PPReference(Dependency dependency)
dependency - the dependency to copy from.| Method Detail |
public DCReference getComponent()
public void setComponent(DCReference component)
reference - to a development component.public java.lang.String getName()
public void setName(java.lang.String name)
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 boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(Object)public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||