org.pentaho.di.repository.kdr
Class KettleDatabaseRepositoryMeta

java.lang.Object
  extended by org.pentaho.di.repository.BaseRepositoryMeta
      extended by org.pentaho.di.repository.kdr.KettleDatabaseRepositoryMeta
All Implemented Interfaces:
RepositoryMeta

public class KettleDatabaseRepositoryMeta
extends BaseRepositoryMeta
implements RepositoryMeta


Field Summary
static String REPOSITORY_TYPE_ID
          The id as specified in the repository plugin meta, used for backward compatibility only
 
Fields inherited from interface org.pentaho.di.repository.RepositoryMeta
XML_TAG
 
Constructor Summary
KettleDatabaseRepositoryMeta()
           
KettleDatabaseRepositoryMeta(String id)
           
KettleDatabaseRepositoryMeta(String id, String name, String description, DatabaseMeta connection)
           
 
Method Summary
 RepositoryMeta clone()
           
 DatabaseMeta getConnection()
           
 String getDescription()
           
 String getName()
           
 RepositoryCapabilities getRepositoryCapabilities()
          Describes the capabilities of the repository
 String getXML()
           
 void loadXML(Node repnode, List<DatabaseMeta> databases)
           
 void setConnection(DatabaseMeta connection)
           
 void setDescription(String description)
           
 void setName(String name)
           
 
Methods inherited from class org.pentaho.di.repository.BaseRepositoryMeta
getDialogClassName, getId, getRevisionBrowserDialogClassName, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.di.repository.RepositoryMeta
getDialogClassName, getId, getRevisionBrowserDialogClassName, setId
 

Field Detail

REPOSITORY_TYPE_ID

public static String REPOSITORY_TYPE_ID
The id as specified in the repository plugin meta, used for backward compatibility only

Constructor Detail

KettleDatabaseRepositoryMeta

public KettleDatabaseRepositoryMeta()

KettleDatabaseRepositoryMeta

public KettleDatabaseRepositoryMeta(String id,
                                    String name,
                                    String description,
                                    DatabaseMeta connection)

KettleDatabaseRepositoryMeta

public KettleDatabaseRepositoryMeta(String id)
Method Detail

getRepositoryCapabilities

public RepositoryCapabilities getRepositoryCapabilities()
Description copied from interface: RepositoryMeta
Describes the capabilities of the repository

Specified by:
getRepositoryCapabilities in interface RepositoryMeta
Returns:
The repository capabilities object

setName

public void setName(String name)
Specified by:
setName in interface RepositoryMeta
Overrides:
setName in class BaseRepositoryMeta
Parameters:
name - the name to set

getName

public String getName()
Specified by:
getName in interface RepositoryMeta
Overrides:
getName in class BaseRepositoryMeta
Returns:
the name

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface RepositoryMeta
Overrides:
setDescription in class BaseRepositoryMeta
Parameters:
description - the description to set

getDescription

public String getDescription()
Specified by:
getDescription in interface RepositoryMeta
Overrides:
getDescription in class BaseRepositoryMeta
Returns:
the description

setConnection

public void setConnection(DatabaseMeta connection)

getConnection

public DatabaseMeta getConnection()

getXML

public String getXML()
Specified by:
getXML in interface RepositoryMeta
Overrides:
getXML in class BaseRepositoryMeta

loadXML

public void loadXML(Node repnode,
                    List<DatabaseMeta> databases)
             throws KettleException
Specified by:
loadXML in interface RepositoryMeta
Overrides:
loadXML in class BaseRepositoryMeta
Throws:
KettleException

clone

public RepositoryMeta clone()
Specified by:
clone in interface RepositoryMeta
Overrides:
clone in class Object