iitb.con.ds
Class InstanceMetaItem

java.lang.Object
  extended by iitb.con.ds.InstanceMetaItem

public class InstanceMetaItem
extends java.lang.Object

InstanceMetaItem holds the meta-information about the instance. It has the type id, instance id and its location in the concept-net file.


Field Summary
 short clusterId
          Cluster Id
 Instance instance
          Instance object
 java.nio.ByteBuffer instanceBytes
          Instance as bytes
 int instanceId
          Instance Id
 long itemLocation
          Location of InstanceItem in the InstanceTable
 long location
          Instance location in the concept-net file
 int size
          Size of the instance
 short typeId
          Type Id
 
Constructor Summary
InstanceMetaItem()
           
InstanceMetaItem(InstanceMetaItem item)
           
 
Method Summary
static short headerSize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clusterId

public short clusterId
Cluster Id


instance

public transient Instance instance
Instance object


instanceBytes

public transient java.nio.ByteBuffer instanceBytes
Instance as bytes


instanceId

public int instanceId
Instance Id


itemLocation

public transient long itemLocation
Location of InstanceItem in the InstanceTable


location

public long location
Instance location in the concept-net file


size

public int size
Size of the instance


typeId

public short typeId
Type Id

Constructor Detail

InstanceMetaItem

public InstanceMetaItem()

InstanceMetaItem

public InstanceMetaItem(InstanceMetaItem item)
Method Detail

headerSize

public static short headerSize()