de.uni_bremen.st.rcf.model
Class Versions

java.lang.Object
  extended by de.uni_bremen.st.rcf.model.Relation<Version>
      extended by de.uni_bremen.st.rcf.model.Versions
All Implemented Interfaces:
Iterable<Version>

public class Versions
extends Relation<Version>

The Version relation.

Author:
harder

Method Summary
 Version addVersion(int clientId, String basepath)
          Add a new Version to the RCF.
 Attribute getBasepathAttribute()
           
 Attribute getClientIdAttribute()
           
 Attribute getCloneClassesAttribute()
           
 Attribute getClonePairsAttribute()
           
 Attribute getDirectoriesAttribute()
           
 Attribute getFilesAttribute()
           
 Attribute getIdAttribute()
           
 
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
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 id
basepath - the basepath of all files in the verison. May be relative.
Returns:
The new version.


Copyright © 2011. All Rights Reserved.