it.unimi.dico.islab.idbs2.kc.session
Class TypeManager

java.lang.Object
  extended by it.unimi.dico.islab.idbs2.kc.session.TypeManager

public class TypeManager
extends Object

Manages object saving and querying for Type wrapper. This class contains most used interrogations (such as getTypeById and methods for saving an object of this class.

IMPORTANT: this class has no public constructor. A singleton instance of this class is contained in KCSessionManager class

Author:
Vegeziel
See Also:
Type

Method Summary
 Type getTypeByClassInstance(KnowledgeChunk type, KnowledgeChunk instance)
           
 Type getTypeById(Integer id)
           
protected static TypeManager getTypeManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTypeManager

protected static TypeManager getTypeManager()

getTypeById

public Type getTypeById(Integer id)

getTypeByClassInstance

public Type getTypeByClassInstance(KnowledgeChunk type,
                                   KnowledgeChunk instance)