de.uni_bremen.st.rcf.model
Class Versions
java.lang.Object
de.uni_bremen.st.rcf.model.Relation<Version>
de.uni_bremen.st.rcf.model.Versions
- All Implemented Interfaces:
- Iterable<Version>
public class Versions
- extends Relation<Version>
The Version relation.
- Author:
- harder
Methods inherited from class de.uni_bremen.st.rcf.model.Relation |
addAttribute, addEnumAttribute, addListAttribute, addReferenceAttribute, addReferenceListAttribute, addScalarAttribute, append, equals, getAttribute, getAttributes, getEntry, getEntryType, getFirstEntry, getName, getRCF, hasAttribute, iterator, size |
getIdAttribute
public Attribute getIdAttribute()
getClientIdAttribute
public Attribute getClientIdAttribute()
getBasepathAttribute
public Attribute getBasepathAttribute()
getClonePairsAttribute
public Attribute getClonePairsAttribute()
getCloneClassesAttribute
public Attribute getCloneClassesAttribute()
getFilesAttribute
public Attribute getFilesAttribute()
getDirectoriesAttribute
public Attribute getDirectoriesAttribute()
addVersion
public Version addVersion(int clientId,
String basepath)
- Add a new Version to the RCF.
- Parameters:
clientId
- a user-defined idbasepath
- the basepath of all files in the verison.
May be relative.
- Returns:
- The new version.
Copyright © 2011. All Rights Reserved.