org.hypergraphdb.type
Class Record

java.lang.Object
  extended by org.hypergraphdb.type.Record
Direct Known Subclasses:
LinkRecord

public class Record
extends java.lang.Object

The Record implements a generic hypergraph record structure. It is a map between slots and values.

Author:
Borislav Iordanov

Constructor Summary
Record(HGHandle type)
           
 
Method Summary
 java.lang.Object get(Slot slot)
           
 java.util.Iterator<Slot> getSlots()
           
 HGHandle getTypeHandle()
           
 void set(Slot slot, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Record

public Record(HGHandle type)
Method Detail

getTypeHandle

public HGHandle getTypeHandle()

getSlots

public java.util.Iterator<Slot> getSlots()

set

public void set(Slot slot,
                java.lang.Object value)

get

public java.lang.Object get(Slot slot)