it.unimi.dico.islab.idbs2.kc.session
Class TypeManager
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getTypeManager
protected static TypeManager getTypeManager()
getTypeById
public Type getTypeById(Integer id)
getTypeByClassInstance
public Type getTypeByClassInstance(KnowledgeChunk type,
KnowledgeChunk instance)