public class RepositoryObject extends Object implements RepositoryElementMetaInterface
Modifier and Type | Field and Description |
---|---|
static String |
STRING_OBJECT_TYPE_JOB
Deprecated.
|
static String |
STRING_OBJECT_TYPE_TRANSFORMATION
Deprecated.
|
Constructor and Description |
---|
RepositoryObject() |
RepositoryObject(ObjectId objectId,
String name,
RepositoryDirectoryInterface repositoryDirectory,
String modifiedUser,
Date modifiedDate,
RepositoryObjectType objectType,
String description,
boolean deleted) |
Modifier and Type | Method and Description |
---|---|
static int |
compareDates(Date one,
Date two) |
static int |
compareStrings(String one,
String two) |
String |
getDescription() |
Date |
getModifiedDate() |
String |
getModifiedUser() |
String |
getName() |
ObjectId |
getObjectId() |
RepositoryObjectType |
getObjectType() |
RepositoryDirectoryInterface |
getRepositoryDirectory() |
boolean |
isDeleted() |
void |
setDeleted(boolean deleted) |
void |
setDescription(String description) |
void |
setModifiedDate(Date modifiedDate) |
void |
setModifiedUser(String modifiedUser) |
void |
setName(String name) |
void |
setObjectId(ObjectId objectId) |
void |
setObjectType(RepositoryObjectType objectType) |
void |
setRepositoryDirectory(RepositoryDirectoryInterface repositoryDirectory) |
static void |
sortRepositoryObjects(List<RepositoryElementMetaInterface> objects,
int sortPosition,
boolean ascending) |
@Deprecated public static final String STRING_OBJECT_TYPE_TRANSFORMATION
@Deprecated public static final String STRING_OBJECT_TYPE_JOB
public RepositoryObject()
public RepositoryObject(ObjectId objectId, String name, RepositoryDirectoryInterface repositoryDirectory, String modifiedUser, Date modifiedDate, RepositoryObjectType objectType, String description, boolean deleted)
name
- modifiedUser
- modifiedDate
- public Date getModifiedDate()
getModifiedDate
in interface RepositoryElementMetaInterface
public void setModifiedDate(Date modifiedDate)
modifiedDate
- the modifiedDate to setpublic String getModifiedUser()
getModifiedUser
in interface RepositoryElementMetaInterface
public void setModifiedUser(String modifiedUser)
modifiedUser
- the modifiedUser to setpublic String getName()
getName
in interface RepositoryObjectInterface
public void setName(String name)
setName
in interface RepositoryElementMetaInterface
name
- the name to setpublic static final void sortRepositoryObjects(List<RepositoryElementMetaInterface> objects, int sortPosition, boolean ascending)
public RepositoryObjectType getObjectType()
getObjectType
in interface RepositoryElementMetaInterface
public void setObjectType(RepositoryObjectType objectType)
objectType
- the objectType to setpublic String getDescription()
getDescription
in interface RepositoryElementMetaInterface
public void setDescription(String description)
description
- the description to setpublic boolean isDeleted()
isDeleted
in interface RepositoryElementMetaInterface
public void setDeleted(boolean deleted)
deleted
- the deleted to setpublic RepositoryDirectoryInterface getRepositoryDirectory()
getRepositoryDirectory
in interface RepositoryElementMetaInterface
public void setRepositoryDirectory(RepositoryDirectoryInterface repositoryDirectory)
repositoryDirectory
- the repositoryDirectory to setpublic ObjectId getObjectId()
getObjectId
in interface RepositoryObjectInterface
public void setObjectId(ObjectId objectId)
objectId
- the objectId to setCopyright © 2018 Hitachi Vantara. All rights reserved.