org.pentaho.di.repository
Class RepositoryObject
java.lang.Object
org.pentaho.di.repository.RepositoryObject
public class RepositoryObject
- extends Object
Contains some common object details, extracted from a repository
- Author:
- Matt
STRING_OBJECT_TYPE_TRANSFORMATION
public static final String STRING_OBJECT_TYPE_TRANSFORMATION
- See Also:
- Constant Field Values
STRING_OBJECT_TYPE_JOB
public static final String STRING_OBJECT_TYPE_JOB
- See Also:
- Constant Field Values
RepositoryObject
public RepositoryObject()
RepositoryObject
public RepositoryObject(String name,
String modifiedUser,
Date modifiedDate,
String objectType,
String description)
- Parameters:
name
- modifiedUser
- modifiedDate
-
getModifiedDate
public Date getModifiedDate()
- Returns:
- the modifiedDate
setModifiedDate
public void setModifiedDate(Date modifiedDate)
- Parameters:
modifiedDate
- the modifiedDate to set
getModifiedUser
public String getModifiedUser()
- Returns:
- the modifiedUser
setModifiedUser
public void setModifiedUser(String modifiedUser)
- Parameters:
modifiedUser
- the modifiedUser to set
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name
- the name to set
compareStrings
public static final int compareStrings(String one,
String two)
compareDates
public static final int compareDates(Date one,
Date two)
sortRepositoryObjects
public static final void sortRepositoryObjects(List<RepositoryObject> objects,
int sortPosition,
boolean ascending)
getObjectType
public String getObjectType()
- Returns:
- the objectType
setObjectType
public void setObjectType(String objectType)
- Parameters:
objectType
- the objectType to set
getDescription
public String getDescription()
- Returns:
- the description
setDescription
public void setDescription(String description)
- Parameters:
description
- the description to set