org.hypergraphdb.type
Interface ObjectFactory<T>

All Known Implementing Classes:
GenericObjectFactory

public interface ObjectFactory<T>

An ObjectFactory is capable of constructing concrete run-time instances of a certain Class.

Author:
Borislav Iordanov

Method Summary
 java.lang.Class<T> getType()
           Return the Class of the objects being constructed by this factory.
 T make()
          Create a new run-time instance of the type this factory is responsible for.
 T make(HGHandle[] targetSet)
          Create a new run-time HGLink instance of the type this factory is responsible for.
 

Method Detail

getType

java.lang.Class<T> getType()

Return the Class of the objects being constructed by this factory.


make

T make()

Create a new run-time instance of the type this factory is responsible for.


make

T make(HGHandle[] targetSet)

Create a new run-time HGLink instance of the type this factory is responsible for.