Copyright @ 2002 SAP. All Rights Reserved.

com.sap.tc.complib
Interface Component

All Known Subinterfaces:
DevelopmentComponent, SoftwareComponent

public interface Component

Interface representing components in general. Enhanced by interfaces DevelopmentComponent and SoftwareComponent.


Method Summary
 java.lang.String getCaption()
          Returns a human readable name of the component
 java.lang.String getDescription()
          Returns the description of the component
 java.lang.String getName()
          Returns the name of the component
 java.lang.String getVendor()
          Returns the vendor of the component
 void serialize(XMLWriter writer)
          Serializes the component to the given XMLWriter.
 void setCaption(java.lang.String caption)
          Sets a human readable name of the component
 void setDescription(java.lang.String description)
          Sets the description of the component
 void setName(java.lang.String name)
          Sets the name of the component
 void setVendor(java.lang.String vendor)
          Sets the vendor of the component
 void validate()
          Verifies that the component is valid (according to the DTD).
 

Method Detail

getName

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

setName

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

getVendor

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

setVendor

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

getCaption

public java.lang.String getCaption()
Returns a human readable name of the component

setCaption

public void setCaption(java.lang.String caption)
Sets a human readable name of the component

getDescription

public java.lang.String getDescription()
Returns the description of the component

setDescription

public void setDescription(java.lang.String description)
Sets the description of the component

validate

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

serialize

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

Copyright @ 2002 SAP. All Rights Reserved.