org.hypergraphdb.type
Class HGTypedValue

java.lang.Object
  extended by org.hypergraphdb.type.HGTypedValue

public class HGTypedValue
extends java.lang.Object

This is a utility class to manipulate arbitrary HyperGraph typed objects, that are not necessarily stored as HyperGraph atoms. It simply holds a reference to a java.lang.Object instance and its HGAtomType type instance.

Author:
Borislav Iordanov

Constructor Summary
HGTypedValue(java.lang.Object value, HGHandle type)
           
 
Method Summary
 HGHandle getType()
           
 java.lang.Object getValue()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HGTypedValue

public HGTypedValue(java.lang.Object value,
                    HGHandle type)
Method Detail

getValue

public java.lang.Object getValue()

getType

public HGHandle getType()