Copyright @ 2002 SAP. All Rights Reserved.

com.sap.tc.complib
Interface Repository


public interface Repository

A Repository instance is a data object that stores information about a repository server.

Since:
1.0
Version:
1.0 August 2002

Field Summary
static java.lang.String TYPE_DTR
           
 
Method Summary
 java.lang.String getType()
          gets the repository type
 java.lang.String getURL()
          gets the repository URL
 void serialize(XMLWriter writer)
          Serializes the repository information to the given XMLWriter.
 void setType(java.lang.String value)
          sets the repository type
 void setURL(java.lang.String value)
          sets the repository URL
 void validate()
          Verifies that the repsoitory information is valid.
 

Field Detail

TYPE_DTR

public static final java.lang.String TYPE_DTR
Method Detail

getType

public java.lang.String getType()
gets the repository type

setType

public void setType(java.lang.String value)
sets the repository type

getURL

public java.lang.String getURL()
gets the repository URL

setURL

public void setURL(java.lang.String value)
sets the repository URL

serialize

public void serialize(XMLWriter writer)
Serializes the repository information to the given XMLWriter.
Parameters:
writer - the XMLWriter to use for serialization.

validate

public void validate()
              throws ValidationException
Verifies that the repsoitory information is valid. Checks mandatory children and attributes
Throws:
ValidationException - if the object is not valid.

Copyright @ 2002 SAP. All Rights Reserved.