de.uni_bremen.st.rcf.model
Class Version

java.lang.Object
  extended by de.uni_bremen.st.rcf.model.Entry
      extended by de.uni_bremen.st.rcf.model.Version

public final class Version
extends Entry


Method Summary
 String getBasepath()
          Get the basepath value.
 String getBasepath(String defaultValue)
          Get the basepath value.
 String getCanonicalBasepath()
          Get the canonical representation of the version's basepath.
 int getClientId()
          Get the clientId value.
 int getClientId(int defaultValue)
          Get the clientId value.
 List<CloneClass> getCloneClasses()
          Get the value list of cloneClasses
 List<ClonePair> getClonePairs()
          Get the value list of clonePairs
 List<Directory> getDirectories()
          Get the value list of directories
 List<File> getFiles()
          Get the value list of files
 Relation<Version> getRelation()
          Get the relation this entry belongs to
 boolean isBasepathSet()
          Tells wether the basepath value is set or not.
 boolean isClientIdSet()
          Tells wether the clientId value is set or not.
 void setBasepath(String s)
          Set the basepath value.
 void setClientId(int i)
          Set the clientId value.
 
Methods inherited from class de.uni_bremen.st.rcf.model.Entry
copy, equals, getBool, getBool, getBool, getBool, getBoolList, getBoolList, getEntry, getEntry, getEntry, getEntry, getEntryList, getEntryList, getEntryType, getFloat, getFloat, getFloat, getFloat, getFloatList, getFloatList, getId, getInt, getInt, getInt, getInt, getIntList, getIntList, getString, getString, getString, getString, getStringList, getStringList, hashCode, isSet, isSet, setBool, setBool, setEntry, setEntry, setFloat, setFloat, setInt, setInt, setString, setString, store, unset, unset
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRelation

public Relation<Version> getRelation()
Description copied from class: Entry
Get the relation this entry belongs to

Overrides:
getRelation in class Entry
Returns:
the Relation

getClientId

public int getClientId()
Get the clientId value.

Returns:
the value of clientId

getClientId

public int getClientId(int defaultValue)
Get the clientId value.

Returns:
the value of clientId or defaultValue if clientId is not set.

setClientId

public void setClientId(int i)
Set the clientId value.

Parameters:
i - the value

isClientIdSet

public boolean isClientIdSet()
Tells wether the clientId value is set or not.

Returns:
true if clientId is set.

getBasepath

public String getBasepath()
Get the basepath value.

Returns:
the value of basepath

getBasepath

public String getBasepath(String defaultValue)
Get the basepath value.

Returns:
the value of basepath or defaultValue if basepath is not set.

setBasepath

public void setBasepath(String s)
Set the basepath value.

Parameters:
s - the value

isBasepathSet

public boolean isBasepathSet()
Tells wether the basepath value is set or not.

Returns:
true if basepath is set.

getClonePairs

public List<ClonePair> getClonePairs()
Get the value list of clonePairs

Returns:
the value list

getCloneClasses

public List<CloneClass> getCloneClasses()
Get the value list of cloneClasses

Returns:
the value list

getFiles

public List<File> getFiles()
Get the value list of files

Returns:
the value list

getDirectories

public List<Directory> getDirectories()
Get the value list of directories

Returns:
the value list

getCanonicalBasepath

public String getCanonicalBasepath()
Get the canonical representation of the version's basepath. The basepath may be relative or contain links. This method returns an uniuqe absolute path.



Copyright © 2011. All Rights Reserved.