Copyright @ 2002 SAP. All Rights Reserved.

com.sap.tc.complib
Interface ComponentReference

All Superinterfaces:
Identifiable
All Known Implementing Classes:
DCReference, SCReference

public interface ComponentReference
extends Identifiable

Interfaces representing references to components in general.


Method Summary
 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 getVendor()
          Returns the vendor of the referenced component
 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
 void validate()
          Verifies that the development compoment reference is valid (according to the DTD).
 
Methods inherited from interface com.sap.tc.complib.Identifiable
getUniqueKey
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the referenced component

setName

public void setName(java.lang.String name)
Sets the name of the referenced component

getVendor

public java.lang.String getVendor()
Returns the vendor of the referenced component

setVendor

public void setVendor(java.lang.String vendor)
Sets the vendor of the referenced component

getSCAlias

public java.lang.String getSCAlias()
Returns the optional SC alias of the referenced component

setSCAlias

public void setSCAlias(java.lang.String alias)
Sets the optional SC alias of the referenced component

validate

public void validate()
              throws ValidationException
Verifies that the development compoment reference is valid (according to the DTD).
Throws:
ValidationException - if the object is not valid.

serialize

public void serialize(XMLWriter writer)
               throws ValidationException
Serializes the reference to the given XMLWriter.
Parameters:
writer - the XMLWriter to use for serialization.

Copyright @ 2002 SAP. All Rights Reserved.