kBase --> getKnowledgePackages() --> getFactTypes()
returns the definitions for a given package

kSession --> getObjects( new ClassObjectFilter( factyype.getFactClass() ) )

returns the actual instances of a given fact type

Davide



--
View this message in context: 
http://drools.46999.n3.nabble.com/Get-List-of-FactTypes-in-a-KnowledgeBase-tp4020197p4020202.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to