|
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.DCReference
References to development components.
| Constructor Summary | |
DCReference()
Creates a new empty instance. |
|
DCReference(java.lang.String name,
java.lang.String vendor)
Creates a new instance with given name and vendor id. |
|
DCReference(java.lang.String name,
java.lang.String vendor,
java.lang.String alias)
Creates a new instance with given name and vendor id. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Determines whether the given DCReference object is "equal to" this one. |
java.lang.String |
getName()
Returns the name of the referenced component |
java.lang.String |
getSCAlias()
Returns the optional SC alias of the referenced component |
java.lang.String |
getUniqueKey()
|
java.lang.String |
getVendor()
Returns the vendor of the referenced component |
int |
hashCode()
|
void |
serialize(XMLWriter writer)
Serializes the reference to the given XMLWriter. |
void |
setName(java.lang.String name)
Sets the name of the referenced component |
void |
setSCAlias(java.lang.String alias)
Sets the optional SC alias of the referenced component |
void |
setVendor(java.lang.String vendor)
Sets the vendor of the referenced component |
java.lang.String |
toString()
|
void |
validate()
Verifies that the component reference is valid (according to the DTD). |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DCReference()
public DCReference(java.lang.String name,
java.lang.String vendor)
name - the name of the destination component.vendor - the vendor id of the destination component.
public DCReference(java.lang.String name,
java.lang.String vendor,
java.lang.String alias)
name - the name of the destination component.vendor - the vendor id of the destination component.alias - the alias of a software component.| Method Detail |
public java.lang.String getName()
getName in interface ComponentReferencepublic void setName(java.lang.String name)
setName in interface ComponentReferencepublic java.lang.String getVendor()
getVendor in interface ComponentReferencepublic void setVendor(java.lang.String vendor)
setVendor in interface ComponentReferencepublic java.lang.String getSCAlias()
getSCAlias in interface ComponentReferencepublic void setSCAlias(java.lang.String alias)
setSCAlias in interface ComponentReference
public void validate()
throws ValidationException
validate in interface ComponentReferenceValidationException - if the object is not valid.
public void serialize(XMLWriter writer)
throws ValidationException
serialize in interface ComponentReferencewriter - the XMLWriter to use for serialization.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String getUniqueKey()
getUniqueKey in interface Identifiablecom.sap.tc.complib.Identifiable
|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||