de.uni_bremen.st.rcf.model
Class Fragment

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

public final class Fragment
extends Entry


Method Summary
 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
 SourcePosition getEnd()
          Get the end value.
 SourcePosition getEnd(SourcePosition defaultValue)
          Get the end value.
 int getNumTokens()
          Get the numTokens value.
 int getNumTokens(int defaultValue)
          Get the numTokens value.
 List<Fragment> getPredecessors()
          Get the value list of predecessors
 Relation<Fragment> getRelation()
          Get the relation this entry belongs to
 SourcePosition getStart()
          Get the start value.
 SourcePosition getStart(SourcePosition defaultValue)
          Get the start value.
 List<Fragment> getSuccessors()
          Get the value list of successors
 Version getVersion()
           
 boolean isClientIdSet()
          Tells wether the clientId value is set or not.
 boolean isEndSet()
          Tells wether the end value is set or not.
 boolean isNumTokensSet()
          Tells wether the numTokens value is set or not.
 boolean isStartSet()
          Tells wether the start value is set or not.
 void setClientId(int i)
          Set the clientId value.
 void setEnd(SourcePosition entry)
          Set the end value.
 void setNumTokens(int i)
          Set the numTokens value.
 void setStart(SourcePosition entry)
          Set the start 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<Fragment> 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.

getStart

public SourcePosition getStart()
Get the start value.

Returns:
the value of start

getStart

public SourcePosition getStart(SourcePosition defaultValue)
Get the start value.

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

setStart

public void setStart(SourcePosition entry)
Set the start value.

Parameters:
f - the value

isStartSet

public boolean isStartSet()
Tells wether the start value is set or not.

Returns:
true if start is set.

getEnd

public SourcePosition getEnd()
Get the end value.

Returns:
the value of end

getEnd

public SourcePosition getEnd(SourcePosition defaultValue)
Get the end value.

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

setEnd

public void setEnd(SourcePosition entry)
Set the end value.

Parameters:
f - the value

isEndSet

public boolean isEndSet()
Tells wether the end value is set or not.

Returns:
true if end 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.

getPredecessors

public List<Fragment> getPredecessors()
Get the value list of predecessors

Returns:
the value list

getSuccessors

public List<Fragment> getSuccessors()
Get the value list of successors

Returns:
the value list

getCloneClasses

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

Returns:
the value list

getClonePairs

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

Returns:
the value list

getVersion

public Version getVersion()


Copyright © 2011. All Rights Reserved.