|
||||||||||
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()
|
String |
getName()
The name of the repository object |
ObjectId |
getObjectId()
The id of the object |
ObjectRevision |
getObjectRevision()
|
RepositoryDirectoryInterface |
getRepositoryDirectory()
|
RepositoryObjectType |
getRepositoryElementType()
|
void |
setDescription(String description)
|
void |
setName(String name)
|
void |
setObjectId(ObjectId id)
|
void |
setObjectRevision(ObjectRevision objectRevision)
|
void |
setRepositoryDirectory(RepositoryDirectoryInterface repositoryDirectory)
|
Method Detail |
---|
RepositoryDirectoryInterface getRepositoryDirectory()
void setRepositoryDirectory(RepositoryDirectoryInterface repositoryDirectory)
String getName()
RepositoryObjectInterface
getName
in interface RepositoryObjectInterface
void setName(String name)
String getDescription()
void setDescription(String description)
ObjectId getObjectId()
RepositoryObjectInterface
getObjectId
in interface RepositoryObjectInterface
void setObjectId(ObjectId id)
RepositoryObjectType getRepositoryElementType()
ObjectRevision getObjectRevision()
void setObjectRevision(ObjectRevision objectRevision)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |