|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryElementInterface
A repository element is an object that can be saved or loaded from the repository. As such, we need to be able to identify it. It needs a RepositoryDirectory, a name and an ID. We also need to identify the type of the element. Finally, we need to be able to optionally identify the revision of the element.
Method Summary | |
---|---|
String |
getDescription()
Gets the description of the repository object. |
String |
getName()
Gets the name of the repository object. |
ObjectId |
getObjectId()
Get the database ID in the repository for this object. |
ObjectRevision |
getObjectRevision()
Gets the object revision. |
RepositoryDirectoryInterface |
getRepositoryDirectory()
|
RepositoryObjectType |
getRepositoryElementType()
Gets the repository element type. |
void |
setDescription(String description)
Sets the description of the repository object. |
void |
setName(String name)
Sets the name of the repository object. |
void |
setObjectId(ObjectId id)
Set the database ID for this object in the repository. |
void |
setObjectRevision(ObjectRevision objectRevision)
Sets the object revision. |
void |
setRepositoryDirectory(RepositoryDirectoryInterface repositoryDirectory)
|
Method Detail |
---|
RepositoryDirectoryInterface getRepositoryDirectory()
void setRepositoryDirectory(RepositoryDirectoryInterface repositoryDirectory)
String getName()
getName
in interface RepositoryObjectInterface
void setName(String name)
name
- String getDescription()
void setDescription(String description)
description
- ObjectId getObjectId()
getObjectId
in interface RepositoryObjectInterface
void setObjectId(ObjectId id)
id
- the database ID for this object in the repositoryRepositoryObjectType getRepositoryElementType()
ObjectRevision getObjectRevision()
void setObjectRevision(ObjectRevision objectRevision)
objectRevision
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |