de.uni_bremen.st.rcf.model
Class ClonePair

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

public final class ClonePair
extends Entry


Method Summary
 int getClientId()
          Get the clientId value.
 int getClientId(int defaultValue)
          Get the clientId value.
 Fragment getLeft()
          Get the left value.
 Fragment getLeft(Fragment defaultValue)
          Get the left value.
 Relation<ClonePair> getRelation()
          Get the relation this entry belongs to
 Fragment getRight()
          Get the right value.
 Fragment getRight(Fragment defaultValue)
          Get the right value.
 int getType()
          Get the type value.
 int getType(int defaultValue)
          Get the type value.
 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 isLeftSet()
          Tells wether the left value is set or not.
 boolean isRightSet()
          Tells wether the right value is set or not.
 boolean isTypeSet()
          Tells wether the type 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 setLeft(Fragment entry)
          Set the left value.
 void setRight(Fragment entry)
          Set the right value.
 void setType(int i)
          Set the type 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<ClonePair> 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.

getType

public int getType()
Get the type value.

Returns:
the value of type

getType

public int getType(int defaultValue)
Get the type value.

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

setType

public void setType(int i)
Set the type value.

Parameters:
i - the value

isTypeSet

public boolean isTypeSet()
Tells wether the type value is set or not.

Returns:
true if type is set.

getLeft

public Fragment getLeft()
Get the left value.

Returns:
the value of left

getLeft

public Fragment getLeft(Fragment defaultValue)
Get the left value.

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

setLeft

public void setLeft(Fragment entry)
Set the left value.

Parameters:
f - the value

isLeftSet

public boolean isLeftSet()
Tells wether the left value is set or not.

Returns:
true if left is set.

getRight

public Fragment getRight()
Get the right value.

Returns:
the value of right

getRight

public Fragment getRight(Fragment defaultValue)
Get the right value.

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

setRight

public void setRight(Fragment entry)
Set the right value.

Parameters:
f - the value

isRightSet

public boolean isRightSet()
Tells wether the right value is set or not.

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


Copyright © 2011. All Rights Reserved.