Package org.pentaho.di.repository
Class RepositoryObject
- java.lang.Object
-
- org.pentaho.di.repository.RepositoryObject
-
- All Implemented Interfaces:
org.pentaho.di.repository.RepositoryElementMetaInterface,org.pentaho.di.repository.RepositoryObjectInterface
public class RepositoryObject extends Object implements org.pentaho.di.repository.RepositoryElementMetaInterface
Contains some common object details, extracted from a repository- Author:
- Matt
-
-
Field Summary
Fields Modifier and Type Field Description static StringSTRING_OBJECT_TYPE_JOBDeprecated.static StringSTRING_OBJECT_TYPE_TRANSFORMATIONDeprecated.
-
Constructor Summary
Constructors Constructor Description RepositoryObject()RepositoryObject(org.pentaho.di.repository.ObjectId objectId, String name, org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory, String modifiedUser, Date modifiedDate, org.pentaho.di.repository.RepositoryObjectType objectType, String description, boolean deleted)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intcompareDates(Date one, Date two)static intcompareStrings(String one, String two)StringgetDescription()DategetModifiedDate()StringgetModifiedUser()StringgetName()org.pentaho.di.repository.ObjectIdgetObjectId()org.pentaho.di.repository.RepositoryObjectTypegetObjectType()org.pentaho.di.repository.RepositoryDirectoryInterfacegetRepositoryDirectory()booleanisDeleted()voidsetDeleted(boolean deleted)voidsetDescription(String description)voidsetModifiedDate(Date modifiedDate)voidsetModifiedUser(String modifiedUser)voidsetName(String name)voidsetObjectId(org.pentaho.di.repository.ObjectId objectId)voidsetObjectType(org.pentaho.di.repository.RepositoryObjectType objectType)voidsetRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory)static voidsortRepositoryObjects(List<org.pentaho.di.repository.RepositoryElementMetaInterface> objects, int sortPosition, boolean ascending)
-
-
-
Field Detail
-
STRING_OBJECT_TYPE_TRANSFORMATION
@Deprecated public static final String STRING_OBJECT_TYPE_TRANSFORMATION
Deprecated.- See Also:
- Constant Field Values
-
STRING_OBJECT_TYPE_JOB
@Deprecated public static final String STRING_OBJECT_TYPE_JOB
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RepositoryObject
public RepositoryObject()
-
RepositoryObject
public RepositoryObject(org.pentaho.di.repository.ObjectId objectId, String name, org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory, String modifiedUser, Date modifiedDate, org.pentaho.di.repository.RepositoryObjectType objectType, String description, boolean deleted)- Parameters:
name-modifiedUser-modifiedDate-
-
-
Method Detail
-
getModifiedDate
public Date getModifiedDate()
- Specified by:
getModifiedDatein interfaceorg.pentaho.di.repository.RepositoryElementMetaInterface- Returns:
- the modifiedDate
-
setModifiedDate
public void setModifiedDate(Date modifiedDate)
- Parameters:
modifiedDate- the modifiedDate to set
-
getModifiedUser
public String getModifiedUser()
- Specified by:
getModifiedUserin interfaceorg.pentaho.di.repository.RepositoryElementMetaInterface- Returns:
- the modifiedUser
-
setModifiedUser
public void setModifiedUser(String modifiedUser)
- Parameters:
modifiedUser- the modifiedUser to set
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.pentaho.di.repository.RepositoryObjectInterface- Returns:
- the name
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceorg.pentaho.di.repository.RepositoryElementMetaInterface- Parameters:
name- the name to set
-
sortRepositoryObjects
public static final void sortRepositoryObjects(List<org.pentaho.di.repository.RepositoryElementMetaInterface> objects, int sortPosition, boolean ascending)
-
getObjectType
public org.pentaho.di.repository.RepositoryObjectType getObjectType()
- Specified by:
getObjectTypein interfaceorg.pentaho.di.repository.RepositoryElementMetaInterface- Returns:
- the objectType
-
setObjectType
public void setObjectType(org.pentaho.di.repository.RepositoryObjectType objectType)
- Parameters:
objectType- the objectType to set
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceorg.pentaho.di.repository.RepositoryElementMetaInterface- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description- the description to set
-
isDeleted
public boolean isDeleted()
- Specified by:
isDeletedin interfaceorg.pentaho.di.repository.RepositoryElementMetaInterface- Returns:
- the deleted
-
setDeleted
public void setDeleted(boolean deleted)
- Parameters:
deleted- the deleted to set
-
getRepositoryDirectory
public org.pentaho.di.repository.RepositoryDirectoryInterface getRepositoryDirectory()
- Specified by:
getRepositoryDirectoryin interfaceorg.pentaho.di.repository.RepositoryElementMetaInterface- Returns:
- the repositoryDirectory
-
setRepositoryDirectory
public void setRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory)
- Parameters:
repositoryDirectory- the repositoryDirectory to set
-
getObjectId
public org.pentaho.di.repository.ObjectId getObjectId()
- Specified by:
getObjectIdin interfaceorg.pentaho.di.repository.RepositoryObjectInterface- Returns:
- the objectId
-
setObjectId
public void setObjectId(org.pentaho.di.repository.ObjectId objectId)
- Parameters:
objectId- the objectId to set
-
-