de.uni_bremen.st.rcf.model
Class Directories
java.lang.Object
de.uni_bremen.st.rcf.model.Relation<Directory>
de.uni_bremen.st.rcf.model.Directories
- All Implemented Interfaces:
- Iterable<Directory>
public class Directories
- extends Relation<Directory>
The Directory 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()
getPathAttribute
public Attribute getPathAttribute()
getVersionAttribute
public Attribute getVersionAttribute()
getFilesAttribute
public Attribute getFilesAttribute()
addDirectory
public Directory addDirectory(String path,
Version version)
- Adds a new Directory to the relation if the directory exists in
the version the existing will be returned instead of creating a
new one.
- Parameters:
path
- The path of the directory relative to the basepath of
version. Must not be null.version
- The version of the directory. Must not be null.
Newly created directories will be added to the directory
list of the version.
- Returns:
- The newly created directory or an equivalent, already existing
one.
Copyright © 2011. All Rights Reserved.