org.pentaho.di.trans.steps.autodoc
Class ReportSubjectLocation

java.lang.Object
  extended by org.pentaho.di.trans.steps.autodoc.ReportSubjectLocation

public class ReportSubjectLocation
extends Object

A transformation or job location

Author:
matt

Constructor Summary
ReportSubjectLocation(String filename, RepositoryDirectoryInterface directory, String name, RepositoryObjectType objectType)
           
 
Method Summary
 boolean equals(Object object)
           
 RepositoryDirectoryInterface getDirectory()
           
 String getFilename()
           
 String getName()
           
 RepositoryObjectType getObjectType()
           
 int hashCode()
           
 boolean isTransformation()
           
 void setDirectory(RepositoryDirectoryInterface directory)
           
 void setFilename(String filename)
           
 void setName(String name)
           
 void setObjectType(RepositoryObjectType objectType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportSubjectLocation

public ReportSubjectLocation(String filename,
                             RepositoryDirectoryInterface directory,
                             String name,
                             RepositoryObjectType objectType)
Parameters:
filename - the name of the file
directory - the directory in the repository where the subject lives
name - the name of the subject in the repository
objectType - the object type to report on
Method Detail

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object

isTransformation

public boolean isTransformation()
Returns:
true if the report subject is a transformation.

getFilename

public String getFilename()
Returns:
the filename

setFilename

public void setFilename(String filename)
Parameters:
filename - the filename to set

getDirectory

public RepositoryDirectoryInterface getDirectory()
Returns:
the directory

setDirectory

public void setDirectory(RepositoryDirectoryInterface directory)
Parameters:
directory - the directory to set

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getObjectType

public RepositoryObjectType getObjectType()
Returns:
the objectType

setObjectType

public void setObjectType(RepositoryObjectType objectType)
Parameters:
objectType - the objectType to set