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
-
Constructor Summary
ConstructorDescriptionRepositoryObject
(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
Modifier and TypeMethodDescriptionstatic final int
compareDates
(Date one, Date two) static final int
compareStrings
(String one, String two) getName()
org.pentaho.di.repository.ObjectId
org.pentaho.di.repository.RepositoryObjectType
org.pentaho.di.repository.RepositoryDirectoryInterface
boolean
void
setDeleted
(boolean deleted) void
setDescription
(String description) void
setModifiedDate
(Date modifiedDate) void
setModifiedUser
(String modifiedUser) void
void
setObjectId
(org.pentaho.di.repository.ObjectId objectId) void
setObjectType
(org.pentaho.di.repository.RepositoryObjectType objectType) void
setRepositoryDirectory
(org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory) static final void
sortRepositoryObjects
(List<org.pentaho.di.repository.RepositoryElementMetaInterface> objects, int sortPosition, boolean ascending)
-
Field Details
-
STRING_OBJECT_TYPE_TRANSFORMATION
Deprecated.- See Also:
-
STRING_OBJECT_TYPE_JOB
Deprecated.- See Also:
-
-
Constructor Details
-
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 Details
-
getModifiedDate
- Specified by:
getModifiedDate
in interfaceorg.pentaho.di.repository.RepositoryElementMetaInterface
- Returns:
- the modifiedDate
-
setModifiedDate
- Parameters:
modifiedDate
- the modifiedDate to set
-
getModifiedUser
- Specified by:
getModifiedUser
in interfaceorg.pentaho.di.repository.RepositoryElementMetaInterface
- Returns:
- the modifiedUser
-
setModifiedUser
- Parameters:
modifiedUser
- the modifiedUser to set
-
getName
- Specified by:
getName
in interfaceorg.pentaho.di.repository.RepositoryObjectInterface
- Returns:
- the name
-
setName
- Specified by:
setName
in interfaceorg.pentaho.di.repository.RepositoryElementMetaInterface
- Parameters:
name
- the name to set
-
compareStrings
-
compareDates
-
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:
getObjectType
in 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
- Specified by:
getDescription
in interfaceorg.pentaho.di.repository.RepositoryElementMetaInterface
- Returns:
- the description
-
setDescription
- Parameters:
description
- the description to set
-
isDeleted
public boolean isDeleted()- Specified by:
isDeleted
in 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:
getRepositoryDirectory
in 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:
getObjectId
in interfaceorg.pentaho.di.repository.RepositoryObjectInterface
- Returns:
- the objectId
-
setObjectId
public void setObjectId(org.pentaho.di.repository.ObjectId objectId) - Parameters:
objectId
- the objectId to set
-