de.uni_bremen.st.rcf.model
Class File

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

public final class File
extends Entry


Method Summary
 String getAbsolutePath()
           
 int getClientId()
          Get the clientId value.
 int getClientId(int defaultValue)
          Get the clientId value.
 Directory getDirectory()
          Get the directory value.
 Directory getDirectory(Directory defaultValue)
          Get the directory value.
 int getLoc()
          Get the loc value.
 int getLoc(int defaultValue)
          Get the loc value.
 String getName()
          Get the name value.
 String getName(String defaultValue)
          Get the name value.
 int getNumTokens()
          Get the numTokens value.
 int getNumTokens(int defaultValue)
          Get the numTokens value.
 Relation<File> getRelation()
          Get the relation this entry belongs to
 String getRelativePath()
           
 Version getVersion()
          Get the version value.
 Version getVersion(Version defaultValue)
          Get the version value.
 boolean isClientIdSet()
          Tells wether the clientId value is set or not.
 boolean isDirectorySet()
          Tells wether the directory value is set or not.
 boolean isLocSet()
          Tells wether the loc value is set or not.
 boolean isNameSet()
          Tells wether the name value is set or not.
 boolean isNumTokensSet()
          Tells wether the numTokens value is set or not.
 boolean isVersionSet()
          Tells wether the version value is set or not.
 void setClientId(int i)
          Set the clientId value.
 void setDirectory(Directory entry)
          Set the directory value.
 void setLoc(int i)
          Set the loc value.
 void setName(String s)
          Set the name value.
 void setNumTokens(int i)
          Set the numTokens value.
 void setVersion(Version entry)
          Set the version 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<File> 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.

getName

public String getName()
Get the name value.

Returns:
the value of name

getName

public String getName(String defaultValue)
Get the name value.

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

setName

public void setName(String s)
Set the name value.

Parameters:
s - the value

isNameSet

public boolean isNameSet()
Tells wether the name value is set or not.

Returns:
true if name is set.

getLoc

public int getLoc()
Get the loc value.

Returns:
the value of loc

getLoc

public int getLoc(int defaultValue)
Get the loc value.

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

setLoc

public void setLoc(int i)
Set the loc value.

Parameters:
i - the value

isLocSet

public boolean isLocSet()
Tells wether the loc value is set or not.

Returns:
true if loc is set.

getNumTokens

public int getNumTokens()
Get the numTokens value.

Returns:
the value of numTokens

getNumTokens

public int getNumTokens(int defaultValue)
Get the numTokens value.

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

setNumTokens

public void setNumTokens(int i)
Set the numTokens value.

Parameters:
i - the value

isNumTokensSet

public boolean isNumTokensSet()
Tells wether the numTokens value is set or not.

Returns:
true if numTokens is set.

getDirectory

public Directory getDirectory()
Get the directory value.

Returns:
the value of directory

getDirectory

public Directory getDirectory(Directory defaultValue)
Get the directory value.

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

setDirectory

public void setDirectory(Directory entry)
Set the directory value.

Parameters:
f - the value

isDirectorySet

public boolean isDirectorySet()
Tells wether the directory value is set or not.

Returns:
true if directory is set.

getVersion

public Version getVersion()
Get the version value.

Returns:
the value of version

getVersion

public Version getVersion(Version defaultValue)
Get the version value.

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

setVersion

public void setVersion(Version entry)
Set the version value.

Parameters:
f - the value

isVersionSet

public boolean isVersionSet()
Tells wether the version value is set or not.

Returns:
true if version is set.

getRelativePath

public String getRelativePath()

getAbsolutePath

public String getAbsolutePath()


Copyright © 2011. All Rights Reserved.