Copyright @ 2002 SAP. All Rights Reserved.

com.sap.tc.complib
Interface Package


public interface Package

Interface representing a package of a development component.


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

Method Detail

getName

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

setName

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

getCaption

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

setCaption

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

getDescription

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

setDescription

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

validate

public void validate()
              throws ValidationException
Verifies that the package 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.