be.SIRAPRISE.typeimplementations
Class RelationBuffer

java.lang.Object
  extended by be.SIRAPRISE.typeimplementations.ValueBuffer
      extended by be.SIRAPRISE.typeimplementations.RelationBuffer

public final class RelationBuffer
extends ValueBuffer

A RelationBuffer is the ValueBuffer type for relation values.

Author:
Erwin Smout

Constructor Summary
RelationBuffer(AbstractRelation relation)
          Creates the buffer and sets its value
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 AbstractRelation getRelation()
          Gets the relation value
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RelationBuffer

public RelationBuffer(AbstractRelation relation)
Creates the buffer and sets its value

Parameters:
relation - The value to be held in this buffer
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getRelation

public AbstractRelation getRelation()
Gets the relation value

Returns:
The relation value

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object