org.pentaho.di.repository
Interface RepositoryElementInterface

All Superinterfaces:
RepositoryObjectInterface
All Known Subinterfaces:
EngineMetaInterface
All Known Implementing Classes:
ClusterSchema, DatabaseMeta, JobMeta, PartitionSchema, SlaveServer, TransMeta

public interface RepositoryElementInterface
extends RepositoryObjectInterface

A repository element is an object that can be saved or loaded from the repository. As such, we need to be able to identify it. It needs a RepositoryDirectory, a name and an ID. We also need to identify the type of the element. Finally, we need to be able to optionally identify the revision of the element.

Author:
matt

Method Summary
 String getDescription()
           
 String getName()
          The name of the repository object
 ObjectId getObjectId()
          The id of the object
 ObjectRevision getObjectRevision()
           
 RepositoryDirectoryInterface getRepositoryDirectory()
           
 RepositoryObjectType getRepositoryElementType()
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setObjectId(ObjectId id)
           
 void setObjectRevision(ObjectRevision objectRevision)
           
 void setRepositoryDirectory(RepositoryDirectoryInterface repositoryDirectory)
           
 

Method Detail

getRepositoryDirectory

RepositoryDirectoryInterface getRepositoryDirectory()

setRepositoryDirectory

void setRepositoryDirectory(RepositoryDirectoryInterface repositoryDirectory)

getName

String getName()
Description copied from interface: RepositoryObjectInterface
The name of the repository object

Specified by:
getName in interface RepositoryObjectInterface
Returns:
the name of the object

setName

void setName(String name)

getDescription

String getDescription()

setDescription

void setDescription(String description)

getObjectId

ObjectId getObjectId()
Description copied from interface: RepositoryObjectInterface
The id of the object

Specified by:
getObjectId in interface RepositoryObjectInterface
Returns:
the id of the object

setObjectId

void setObjectId(ObjectId id)

getRepositoryElementType

RepositoryObjectType getRepositoryElementType()

getObjectRevision

ObjectRevision getObjectRevision()

setObjectRevision

void setObjectRevision(ObjectRevision objectRevision)