class Rete extends ObjectSource implements
    Externalizable,
    ObjectSink {

    public List<ObjectTypeNode> getObjectTypeNodes() {
        List<ObjectTypeNode> allNodes = new LinkedList<ObjectTypeNode>();
        for ( EntryPointNode node : this.entryPoints.values() ) {
            allNodes.addAll( node.getObjectTypeNodes().values() );
        }
        return allNodes;
    }

    public  Rete();
    public  Rete(InternalKnowledgeBase kBase);

}